Incorrect authorization in Gitea - CVE-2026-28744

 

Incorrect authorization in Gitea - CVE-2026-28744

Published: June 8, 2026


Vulnerability identifier: #VU133469
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-28744
CWE-ID: CWE-863
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 and modify repository contents.

The vulnerability exists due to incorrect authorization in the Git Smart HTTP authorization path when processing Bearer-authenticated repository operations. A remote user can present a PAT or OAuth2 token as a Bearer credential to disclose sensitive information and modify repository contents.

The issue affects repository-scoped token enforcement only for Bearer or OAuth2 authentication in Git Smart HTTP, while normal repository RBAC for the token owner still applies.


How to mitigate CVE-2026-28744

Install security update from vendor's website.

Sources