Servers and applications
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.
- Severity
- Critical 9.1
- Published
- 22 Jan 2026
- Last changed
- 15 Jul 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.25.4
- Exploit chance
- 0.5% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Improper access control (CWE-284)Authorization bypass through a user-controlled key (IDOR) (CWE-639)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
GiteaServers and applications · cpe:a:gitea:gitea |
|
About Gitea
free forge based on git written in Go
- Docker Hub pulls
- 395,154,663Docker Hub, 15 Nov 2026
- GitHub stars
- 59,090GitHub, 15 Nov 2026
- Forks
- 7,394GitHub, 15 Nov 2026
- Latest release
- v28.3.0GitHub, 15 Nov 2026
- Released
- 1 Nov 2026GitHub
- Developer
- Jiahua ChenWikidata
- License
- MIT LicenseWikidata
- Written in
- Go, JavaScriptWikidata
- First released
- 17 Oct 2016Wikidata
- First published on GitHub
- 1 Nov 2016GitHub
Website Source code Docker image
Vulnerabilities in Gitea
- In our list
- 171
- Published in the last 12 months
- 138
- Critical, last 12 months
- 13
- High, last 12 months
- 31
- Known exploited
- 1
- CVE-2026-129525Gitea pull request disclosure to members with access to issues onlyMedium 5.4 15 Nov 2026
- CVE-2026-129341Gitea release asset deletion by former writersMedium 5.4 15 Nov 2026
- CVE-2026-129337Gitea push without write access to repositories still being createdMedium 5.3 15 Nov 2026
- CVE-2026-128365Gitea required approval bypass through team review request removalLow 3.1 15 Nov 2026
- CVE-2026-128359Gitea OAuth2 provider tokens issued to disabled usersMedium 5.4 15 Nov 2026
- CVE-2026-127958Gitea disclosure of pending pull request reviews created through the APIMedium 5.3 15 Nov 2026