CVE-2026-20897
CRITICALCVSS 9.1/10EPSS 0.37%
Last modified
CVE-2026-20897 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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 estimates a 0.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 1.25.4 |
References
- https://blog.gitea.com/release-of-1.25.4/Release Notes
- https://github.com/go-gitea/gitea/pull/36344Issue Tracking, Patch
- https://github.com/go-gitea/gitea/pull/36349Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is 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.
How severe is CVE-2026-20897?
CVE-2026-20897 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 0.37% probability of exploitation in the next 30 days.
How do I fix CVE-2026-20897?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2026-20897?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
