CVE-2026-20897
critical · 9.1Gitea 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.
9.1
CVSS
0.5%
EPSS (exploit prob.)
39th
EPSS percentile
2026-01-22
Published
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-284CWE-639
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| gitea | gitea | < 1.25.4 |
Check a specific version with /api/v1/cve/match.
References
- https://blog.gitea.com/release-of-1.25.4/
- 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
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c
- https://access.redhat.com/security/cve/CVE-2026-20897
- https://bugzilla.redhat.com/show_bug.cgi?id=2432204
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2026-20897