CVE-2026-20897

Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)

State
Published
Severity
9.1 Critical
Published
Jan 22, 2026
Updated
Jul 15, 2026
Reserved
Jan 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Nredhat-SADP

Weaknesses

  • CWE-284 Improper Access Control
  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
Gitea Open Source Git ServerGitea
  • 1.25.3 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.