VulnerabilityModified
CVE-2026-20897
Gitea does not properly validate repository ownership when deleting Git LFS locks.
CRITICAL 9.1EPSS 0.43%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.43%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 0.43% probability · 37th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-284, CWE-639
- Affected
- gitea/gitea
- Source
- 88ee5874-cf24-4952-aea0-31affedb7ff2
References
- https://blog.gitea.com/release-of-1.25.4/Release Notes
- https://github.com/go-gitea/gitea/pull/36344Issue Tracking, Patch
- https://github.com/go-gitea/gitea/pull/36349Issue Tracking, Patch
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7cBroken Link
- 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.