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

Summary

CVECVE-2026-20897
StatePUBLISHED
AssignerGitea
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-01-22 22:16:18 UTC
Updated2026-06-27 05:16:42 UTC
DescriptionGitea 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.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Problem Types: CWE-284 | CWE-639 | CWE-284 CWE-284: Improper Access Control | CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key | CWE-639 Authorization Bypass Through User-Controlled Key


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1ADPCVSS9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gitea Gitea All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Gitea Gitea Open Source Git Server affected 1.25.3 semver Not specified
ADP Red Hat OpenShift Pipelines Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/security/cve/CVE-2026-20897 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c 88ee5874-cf24-4952-aea0-31affedb7ff2 github.com Broken Link
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
blog.gitea.com/release-of-1.25.4 88ee5874-cf24-4952-aea0-31affedb7ff2 blog.gitea.com Release Notes
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
github.com/go-gitea/gitea/pull/36349 88ee5874-cf24-4952-aea0-31affedb7ff2 github.com Issue Tracking, Patch
github.com/go-gitea/gitea/releases/tag/v1.25.4 88ee5874-cf24-4952-aea0-31affedb7ff2 github.com Release Notes
github.com/go-gitea/gitea/pull/36344 88ee5874-cf24-4952-aea0-31affedb7ff2 github.com Issue Tracking, Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: spingARbor (en)

Additional Advisory Data

SourceTimeEvent
ADP2026-01-22T23:01:23.773ZReported to Red Hat.
ADP2026-01-22T22:01:51.508ZMade public.
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report