Auth bypass in Gitea
CVE-2026-20897
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 40.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gitea
- Gitea Open Source Git Server — versions 0
Weakness classification (CWE)
References
- GitHub Security Advisory (vendor-advisory, Broken Link)
- GitHub Pull Request #36344 (Patch, patch, Issue Tracking)
- GitHub Pull Request #36349 (Patch, patch, Issue Tracking)
- Gitea v1.25.4 Release (release-notes, Release Notes)
- Gitea v1.25.4 Release Blog Post (release-notes, Release Notes)
- access.redhat.com/security/cve/CVE-2026-20897
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json