PT-2026-63279 · Gitea+1 · Gitea+1
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Gitea (affected versions not specified)
Description
The OIDC userinfo endpoint
GET /login/oauth/userinfo accepts Gitea API tokens as bearer credentials but fails to enforce API token scopes before returning identity claims. This allows a token with limited permissions, such as read:misc, to retrieve sensitive identity information including email and groups (organization and team membership), even when the same token is correctly denied access to user-related REST API endpoints like GET /api/v1/user, GET /api/v1/user/emails, and GET /api/v1/user/orgs due to missing read:user or read:organization scopes.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gitea
Red Os