Authorization bypass through user-controlled key in Gitea - CVE-2026-28740

 

Authorization bypass through user-controlled key in Gitea - CVE-2026-28740

Published: June 22, 2026


Vulnerability identifier: #VU135009
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-28740
CWE-ID: CWE-639
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The Gitea Authors
Affected software:
Gitea

Detailed vulnerability description

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to authorization bypass through a user-controlled key in the Git LFS upload/object reuse path when reusing an existing Git LFS object from a private source repository. A remote user can associate a known Git LFS object from the source repository with a target repository to disclose sensitive information.

Exploitation requires Code write access to a target repository, non-Code access such as Issues access to a private source repository, and knowledge of an existing Git LFS object OID and size.


How to mitigate CVE-2026-28740

Install security update from vendor's website.

Sources