Original 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 software
- Gitea *< 1.25.4 Fixed in: 1.25.4 repository or package match
Details
- Published
- 2026-01-22
- Last modified
- 2026-07-15
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- CWE
- CWE-284, CWE-639
- EPSS (30-day exploit probability)
- 0.46% (percentile 40)
References
- cve.org/CVE-2026-20897
- nvd.nist.gov/vuln/detail/CVE-2026-20897
- blog.gitea.com/release-of-1.25.4/
- github.com/go-gitea/gitea/pull/36344
- github.com/go-gitea/gitea/pull/36349
- github.com/go-gitea/gitea/releases/tag/v1.25.4
- github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c
- access.redhat.com/security/cve/CVE-2026-20897
- bugzilla.redhat.com/show_bug.cgi?id=2432204
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.