Auth bypass in Gitea
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.
EPSS: 0.004 (33.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: 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 Server — versions 0
Weakness classification (CWE)
References
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (vendor-advisory, Broken Link)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (Patch, patch, Issue Tracking)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (Patch, patch, Issue Tracking)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes, Release Notes)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes, Release Notes)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Frequently asked questions
- What is CVE-2026-20897?
- CVE-2026-20897 is a critical-severity vulnerability in Gitea, classified under Improper Access Control. CVSS score: 9.1/10. Published 2026-01-22.
- How severe is CVE-2026-20897?
- Critical severity. CVSS v3 base score is 9.1 out of 10.