Security advisory
Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the attacker deleting files outside the repository he/she has access to. This attack appears to be exploitable via the attacker must get write access to "any" repository including self-created ones.. This vulnerability appears to have been fixed in 1.6.3, 1.7.0-rc2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-1000002
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:40 UTC · Revision 1
Source evidence
Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the attacker deleting files outside the repository he/she has access to. This attack appears to be exploitable via the attacker must get write access to "any" repository including self-created ones.. This vulnerability appears to have been fixed in 1.6.3, 1.7.0-rc2.
osv:CVE-2019-1000002
Complete source record
{
"id": "59bd0bbdb8df4891d0ead6f24054e6d24b7ff25511f8ee2af440fc4910d420dd",
"url": "https://osv.dev/vulnerability/CVE-2019-1000002",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-1000002",
"summary": "Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the attacker deleting files outside the repository he/she has access to. This attack appears to be exploitable via the attacker must get write access to \"any\" repository including self-created ones.. This vulnerability appears to have been fixed in 1.6.3, 1.7.0-rc2.",
"evidence": "osv:CVE-2019-1000002",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-1000002",
"aliases": [
"CVE-2019-1000002",
"GHSA-j99q-rwp6-498g"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/go-gitea/gitea",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "2631f7f64d24eef0ceb12eba6d384dfb6cb37527"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.6.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.6.0-rc2",
"v1.6.0-rc1",
"v1.6.0-dev",
"v1.5.0-rc1",
"v1.5.0-dev",
"v1.1.0",
"v1.0.0",
"v0.9.99"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-1000002.json"
}
}
],
"modified": "2026-10-24T10:48:44.697593376Z",
"provider": "osv",
"references": [
"https://github.com/go-gitea/gitea/pull/5631"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"vendor_product": "gitea:gitea",
"extracted_events": [
{
"range": [
{
"last_affected": "1.6.2"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-1000002",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441632,
"published_at": "2019-02-04T21:29:00.69+00:00"
}