GHSA-393c-qgvj-3xph
Gitea does not properly validate repository ownership when deleting Git LFS locks
At a glance
- Published
- Updated
- CVE
- CVE-2026-20897
- Aliases
- BIT-gitea-2026-20897, GHSA-rrq5-r9h5-pc7c, GO-2026-4363
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
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.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/go-gitea/gitea | introduced 0, fixed 1.25.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-20897 ADVISORY
- https://github.com/go-gitea/gitea/pull/36344 WEB
- https://github.com/go-gitea/gitea/pull/36349 WEB
- https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f WEB
- https://blog.gitea.com/release-of-1.25.4 WEB
- https://github.com/go-gitea/gitea PACKAGE
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |