CVE-2026-20897
CRITICALCVSS 9.1/10EPSS 0.41%
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.41% 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
- Modified
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.41% 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.
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-20891Improper authentication for some Intel(R) PROSet/Wireless Wi…6.3
- CVE-2026-20892Code injection vulnerability exists in MR-GM5L-S1 and MR-GM5…8.6
- CVE-2026-20893Origin validation error issue exists in Fujitsu Security Sol…8.5
- CVE-2026-20894Cross-site scripting vulnerability exists in multiple Networ…4.8
- CVE-2026-20895The WebSocket backend uses charging station identifiers to u…7.5
- CVE-2026-20896Gitea Docker image versions up to and including 1.26.2 use R…9.8
- CVE-2026-20898Improper access control in the firmware for some in Alias Ch…8.5
- CVE-2026-2090A vulnerability was determined in SourceCodester Online Clas…9.8
- CVE-2026-20901Improper input validation for some Intel(R) Xeon(R) processo…4
- CVE-2026-20902An OS command injection vulnerability exists in XWEB Pro…8.8
- CVE-2026-20903Protection mechanism failure for some Intel(R) AI Containers…5.4
- CVE-2026-20904Gitea does not properly validate ownership when toggling Ope…6.5
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
