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.
{
"cna_assigner": "Gitea",
"cwe_ids": [
"CWE-284",
"CWE-639"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20897.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.25.3"
},
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.25.4"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "v1.25.4",
"range": [
{
"fixed": "369830bada2fd8826a5135cb2fc66660a9bef708"
}
],
"source": "REFERENCES_TAG"
}
],
"source": "AFFECTED_FIELD"
}