Incorrect authorization in Gitea - CVE-2026-28744
Published: June 8, 2026
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.