Go Vulnerability Database
GO-2026-4363
Gitea does not properly validate repository ownership when deleting Git LFS locks in code.gitea.io/gitea
Details
Gitea does not properly validate repository ownership when deleting Git LFS locks in code.gitea.io/gitea
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | code.gitea.io/gitea | All versions before 1.25.4 (fixed in 1.25.4) |
References
- https://github.com/advisories/GHSA-393c-qgvj-3xph
- https://nvd.nist.gov/vuln/detail/CVE-2026-20897
- https://blog.gitea.com/release-of-1.25.4
- https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f
- 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