Moderate severityOSV Advisory· Published Jan 22, 2026· Updated Jan 23, 2026
Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
CVE-2026-20897
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/go-gitea/giteaGo | < 1.25.4 | 1.25.4 |
Affected products
4- osv-coords3 versionspkg:bitnami/giteapkg:golang/github.com/go-gitea/giteapkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 1.25.4+ 2 more
- (no CPE)range: < 1.25.4
- (no CPE)range: < 1.25.4
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
Patches
Vulnerability mechanics
References
9- github.com/go-gitea/gitea/pull/36344ghsapatchWEB
- github.com/go-gitea/gitea/pull/36349ghsapatchWEB
- github.com/advisories/GHSA-393c-qgvj-3xphghsaADVISORY
- github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7cmitrevendor-advisory
- nvd.nist.gov/vuln/detail/CVE-2026-20897ghsaADVISORY
- blog.gitea.com/release-of-1.25.4ghsaWEB
- blog.gitea.com/release-of-1.25.4/mitrerelease-notes
- github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798fghsaWEB
- github.com/go-gitea/gitea/releases/tag/v1.25.4ghsarelease-notesWEB
News mentions
0No linked articles in our index yet.