PT-2026-50138

CVE-2026-28744

·

Published

2026-05-07

·

Updated

2026-07-30

Description by

CVSS 2.0
8.5
High
MetricsAV:N/AC:L/Au:S/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions Gitea versions prior to 1.26.1
Description In the Git Smart HTTP path, the system fails to enforce repository-scoped access-token permissions when tokens are provided via Bearer authentication. While the CheckRepoScopedToken() function is designed to validate scopes, it returns early if the request is not using HTTP Basic authentication. Consequently, a Personal Access Token (PAT) or OAuth2 token sent as Authorization: Bearer <token> bypasses scope checks entirely.
This allows a token with limited permissions (for example, only read:notification) to perform operations such as cloning or fetching private repositories without the read:repository scope, or pushing to repositories without the write:repository scope, provided the token owner has the necessary repository RBAC permissions. The issue affects the CheckRepoScopedToken() function and impacts Git Smart HTTP routes.
Recommendations Update Gitea to version 1.26.1 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-CC8W-R4QH-3V65
GO-2026-5321
OPENSUSE-SU-2026:21483-1
Found an issue in the description? Have something to add? Feel free to write us 👾