CVE-2026-20897: gitea Improper Access Control
CVSS: 9.1v3.1CriticalModified
AliasesGHSA-393c-qgvj-3xphBIT-gitea-2026-20897GHSA-rrq5-r9h5-pc7cGO-2026-4363
Published 22-01-2026Last modified 15-07-2026
Vulnerability summary
CVE-2026-20897 is a critical (CVSS 9.1) Improper Access Control vulnerability in gitea. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.1% of scored vulnerabilities.
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)EPSS score
0.46%
0%100%
Low · -0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 22-01-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
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 metrics
3 scores · 3 sources · 2 versionsMedium 5.3Preferred score · OSV · Go (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NSourcesSingle source
Critical 9.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NSourcesAll 2 agree
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
-0.01 pp
From 0.46% on 19-09-2026
19-09-202619-10-2026
EPSS score0.46%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-284Improper Access ControlThe product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
- CWE-639Authorization Bypass Through User-Controlled KeyThe system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Affected systems
Gitea2 products
- gitea< 1.25.4
- gitea open source git server≤ 1.25.3
Code.gitea.io1 product
- gitea< 1.25.4
Github.com/go-gitea1 product
- gitea< 1.25.4
3 vendors · 4 products
References
13 links- blog.gitea.com/release-of-1.25.4/Release Notes
Show all 13 references
- github.com/go-gitea/giteaPACKAGE