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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*

History

29 Jan 2026, 22:02

Type Values Removed Values Added
CPE cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
References () https://blog.gitea.com/release-of-1.25.4/ - () https://blog.gitea.com/release-of-1.25.4/ - Release Notes
References () https://github.com/go-gitea/gitea/pull/36344 - () https://github.com/go-gitea/gitea/pull/36344 - Issue Tracking, Patch
References () https://github.com/go-gitea/gitea/pull/36349 - () https://github.com/go-gitea/gitea/pull/36349 - Issue Tracking, Patch
References () https://github.com/go-gitea/gitea/releases/tag/v1.25.4 - () https://github.com/go-gitea/gitea/releases/tag/v1.25.4 - Release Notes
References () https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c - () https://github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c - Broken Link
First Time Gitea
Gitea gitea

23 Jan 2026, 22:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

22 Jan 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-22 22:16

Updated : 2026-01-29 22:02


NVD link : CVE-2026-20897

Mitre link : CVE-2026-20897

CVE.ORG link : CVE-2026-20897


JSON object : View

Products Affected

gitea

  • gitea
CWE
CWE-284

Improper Access Control

CWE-639

Authorization Bypass Through User-Controlled Key