Sceawere
Vulnerability Detail
CVE-2026-55982UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
OIDC UserInfo Missing Scope Enforcement
Vulnerability Metadata
- Severity
- Critical
- Score / CVSS
- 9.1
- Creation Date
- 1d ago
- Vendor
- Gitea
- Product
- Gitea Open Source Git Server
- Attack Type
- CWE-200
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack Complexity
- LOW
Narrative and Response
Description
OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "9.1",
"pubDate": "2026-08-13T17:17:24.750Z",
"pubdate": "2026-08-13T17:17:24.750Z",
"executiveSummary": "An authorization bypass vulnerability exists within the OpenID Connect (OIDC) userinfo endpoint, specifically regarding the failure to enforce API token scopes. This security flaw allows entities possessing valid tokens with restricted or absent scopes to successfully query the userinfo endpoint and retrieve sensitive identity claims that should otherwise be restricted. The impact of this vulnerability includes unauthorized information disclosure, privacy violations, and potential exposure of personally identifiable information (PII) or internal user attributes to unauthorized clients. Affected systems include implementations of OIDC authorization servers and identity providers that fail to validate token scopes during userinfo requests. The risk implication is significant as it undermines the principle of least privilege and scope-based access control mechanisms within federated authentication architectures. The capability required by an attacker involves obtaining a valid token, which may be acquired through standard authentication flows, and subsequently presenting this token to the userinfo endpoint without possessing the requisite authorization scopes. Exploitation requirements rely entirely on the misconfiguration or programmatic oversight within the identity provider where scope validation logic is omitted during the processing of incoming userinfo requests.",
"technicalDetails": "The root cause of this vulnerability stems from a validation oversight in the OIDC userinfo endpoint implementation, where the server fails to verify whether the presented access token contains the necessary scopes—such as openid, profile, or email—before returning identity claims. In a secure OIDC deployment, the userinfo endpoint is designed to act as a protected resource that evaluates the claims and scopes bound to the incoming bearer token. When a client application submits a request to the userinfo endpoint, the underlying authorization framework must inspect the token's scope parameter to ensure the client is explicitly authorized to access specific user attributes. In the vulnerable scenario, the endpoint bypasses scope enforcement entirely, treating any syntactically valid and unexpired token as fully authorized to receive the complete set of identity claims regardless of the granted scopes during the initial authorization code exchange. The exploitation method involves an attacker initiating a standard authentication flow, acquiring an access token with minimal or zero privileges (e.g., a token restricted to a non-sensitive API scope), and then directly invoking the userinfo endpoint using that token. The vulnerable component is the token validation and scope enforcement middleware or controller logic residing within the OIDC provider's userinfo endpoint handler. Network exposure is external, as the userinfo endpoint is typically accessible over HTTPS to authenticated clients. Authentication requirements are technically met by providing a valid bearer token, but privilege requirements are improperly bypassed due to the absence of scope checks. The payload behavior involves a standard HTTP GET or POST request directed at the userinfo endpoint containing the improperly scoped token in the Authorization header. Post-exploitation impact encompasses the continuous harvesting of sensitive user claims, identity profiling, and potential escalation of attack vectors if the exposed claims contain security-sensitive metadata or internal identifiers."
}