All vulnerabilities

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

SoftwareAffected versions
GiteaServers and applications · cpe:a:gitea:gitea
  • Every version before 1.25.4

About Gitea

free forge based on git written in Go

From Wikidata, CC0 1.0.
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

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-20897
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-20897