CVE-2026-20897: Gitea does not properly validate repository ownership when deleting Git LFS locks
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.
References
- blog.gitea.com/release-of-1.25.4
- github.com/advisories/GHSA-393c-qgvj-3xph
- github.com/go-gitea/gitea
- github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f
- github.com/go-gitea/gitea/pull/36344
- github.com/go-gitea/gitea/pull/36349
- github.com/go-gitea/gitea/releases/tag/v1.25.4
- nvd.nist.gov/vuln/detail/CVE-2026-20897
Code Behaviors & Features
Detect and mitigate CVE-2026-20897 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →