{"id":"CVE-2026-20897","published":"2026-01-22T22:01:51Z","modified":"2026-07-15T01:20:11Z","title":"Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00687,"percentile":0.47948,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/36344","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/36349","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["release-notes"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20897","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432204","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.59},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["<= 1.25.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-01-23T17:56:55.236953Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","vulnerableRanges":["<1.25.4"],"patched":["1.25.4"],"from":["GHSA-393c-qgvj-3xph"],"provenance":"source"},{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.25.4"],"patched":["1.25.4"],"from":["GO-2026-4363"],"provenance":"source"}],"summary":{"text":"The flaw is a broken access control issue in the Git LFS lock deletion functionality of the Gitea open source Git server, where repository ownership is not properly validated. An attacker who holds write access to one repository can delete Git LFS locks belonging to other repositories, with no authentication or user interaction beyond that existing write permission.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:20Z"},"euvd":{"id":"EUVD-2026-4264","exploited":false,"provenance":"source"}}