CVE-2026-20897
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 <= 1.25.3 | affected |
Weaknesses
- CWE-284: CWE-284: Improper Access Control
- CWE-639: CWE-639: Authorization Bypass Through User-Controlled Key
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
gitea: Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
Additional References
- https://access.redhat.com/security/cve/CVE-2026-20897
- https://bugzilla.redhat.com/show_bug.cgi?id=2432204
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c
- https://github.com/go-gitea/gitea/pull/36344
- https://github.com/go-gitea/gitea/pull/36349
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- https://blog.gitea.com/release-of-1.25.4/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.