{"id":"CVE-2026-20897","aliases":["BIT-gitea-2026-20897","GHSA-393c-qgvj-3xph","GHSA-rrq5-r9h5-pc7c","GO-2026-4363"],"url":"https://o3.security/vulnerability/CVE-2026-20897","summary":"Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)","details":"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.","published":"2026-01-22T22:01:51.508Z","modified":"2026-08-12T03:51:16.784459230Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.00422,"percentile":0.35371,"asOf":"2026-09-04"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/go-gitea/gitea","fixedVersion":"1.25.4"}],"fix":{"url":"https://github.com/go-gitea/gitea/pull/36344","label":"go-gitea/gitea#36344"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-20897"},{"type":"ADVISORY","url":"https://blog.gitea.com/release-of-1.25.4/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20897.json"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20897"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432204"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/36344"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/36349"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.25.4"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:16.784459230Z"}}