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

27 Jun 2026, 05:16

Type Values Removed Values Added
References
  • () 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 -

17 Jun 2026, 10:18

Type Values Removed Values Added
Summary
  • (es) Gitea no valida correctamente la propiedad del repositorio al eliminar bloqueos de Git LFS. Un usuario con acceso de escritura a un repositorio podría eliminar bloqueos LFS pertenecientes a otros repositorios.

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-07-15 02:18


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