CVE-2026-20897
Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Puntuación base: 9.1
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.46%
- Percentil entre todas las CVEs puntuadas: 38
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access85 % - Impacto principal
T1565.002Transmitted Data Manipulationimpact75 % - Impacto secundario
T1531Account Access Removalimpact65 %
AV:N/PR:N sin UI indica explotación remota sin privilegios (T1190). La validación deficiente de propiedad permite manipular LFS locks ajenos (T1565.002: modificación de datos). Afecta integridad de repositorios y potencial denegación de acceso a colaboradores (T1531).
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-284, CWE-639
- CWE-639
Referencias
- https://blog.gitea.com/release-of-1.25.4/
- https://github.com/go-gitea/gitea/pull/36344
- https://github.com/go-gitea/gitea/pull/36349
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c
- https://access.redhat.com/security/cve/CVE-2026-20897
- https://bugzilla.redhat.com/show_bug.cgi?id=2432204
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-20897",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-20897",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-01-23T17:56:55.236953Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.2,
"exploitabilityScore": 3.9
},
{
"type": "Secondary",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.2,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"affectedData": [
{
"vendor": "Gitea",
"product": "Gitea Open Source Git Server",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "1.25.3"
}
],
"defaultStatus": "unaffected"
}
]
},
{
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"affectedData": [
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-opc-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_pipelines:1"
],
"vendor": "Red Hat",
"product": "OpenShift Pipelines",
"packageName": "openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-01-22T22:16:18.960",
"references": [
{
"url": "https://blog.gitea.com/release-of-1.25.4/",
"tags": [
"Release Notes"
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/pull/36344",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/pull/36349",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/releases/tag/v1.25.4",
"tags": [
"Release Notes"
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c",
"tags": [
"Broken Link"
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://access.redhat.com/security/cve/CVE-2026-20897",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2432204",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"description": [
{
"lang": "en",
"value": "CWE-284"
},
{
"lang": "en",
"value": "CWE-639"
}
]
},
{
"type": "Secondary",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"description": [
{
"lang": "en",
"value": "CWE-639"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories."
},
{
"lang": "es",
"value": "Gitea no valida correctamente la propiedad del repositorio al eliminar bloqueos de Git LFS. Un usuario con acceso de escritura a un repositorio podría eliminar bloqueos LFS pertenecientes a otros repositorios."
}
],
"lastModified": "2026-07-15T02:18:24.600",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*",
"vulnerable": true,
"matchCriteriaId": "DFCB7D74-331D-4582-AB41-113A25BE8FAA",
"versionEndExcluding": "1.25.4"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "88ee5874-cf24-4952-aea0-31affedb7ff2"
}