CVE-2026-20897: critical vulnerability in Gitea Open Source Git Server
Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.1epss 0.5%
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products
Gitea · Gitea Open Source Git ServerRelated CVEs — Gitea Open Source Git Server
In the same product, most dangerous first.
CVE-2024-6886CRITICALInproper Sanitation of field leading to stored XSSEPSS 33.0%CVE-2026-20896CRITICALGitea Docker image trusts spoofable reverse-proxy headers by defaultEPSS 2.8%CVE-2026-27771HIGHGitea Composer package source links use insufficient permission checksEPSS 1.4%CVE-2026-27775HIGHGitea pre-receive hook permission cache allows full repository write accessEPSS 0.9%CVE-2026-56654CRITICALPrivilege Escalation via Access Token Scope Escalation in APIEPSS 0.8%CVE-2026-26292CRITICALGitea LFS mirror synchronization bypasses migration HTTP transport restrictionsEPSS 0.7%
References
https://access.redhat.com/security/cve/CVE-2026-20897https://blog.gitea.com/release-of-1.25.4/https://bugzilla.redhat.com/show_bug.cgi?id=2432204https://github.com/go-gitea/gitea/pull/36344https://github.com/go-gitea/gitea/pull/36349https://github.com/go-gitea/gitea/releases/tag/v1.25.4https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7chttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json