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: 8.6 [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]
CVE-ID: CVE-2026-28744
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Gitea

How to mitigate CVE-2026-28744

Install security update from vendor's website.

Gitea - update to 1.26.2

External References

Related Security Bulletins