CVE-2026-55982

OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes

Published Aug 13, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes

Analysis

AI-generated

Technical impact

The flaw lies in the OIDC userinfo endpoint, which does not enforce the scopes that a supplied API token is allowed to access. As a result, an attacker able to present a valid API token can retrieve identity claims that the token was not explicitly granted. This enables unintended leakage of personal or account information tied to the user, potentially revealing e‑mail addresses or other sensitive data without permission. The weakness is a classic information‑exposure issue.

Affected Systems

Gitea Open Source Git Server, any instance that has not applied the 1.27.0 release or later and therefore still has the unpatched userinfo endpoint logic. Earlier releases with the same code path are also affected.

Risk and Exploitability

The exploitation requires only an authenticated API token that can reach the userinfo endpoint; no additional privileges are needed. The EPSS score is < 1%, but the lack of scope validation makes the vulnerability highly exploitable in environments where API tokens are widely used. The CVSS score of 9.1 indicates a high severity. The issue is not listed in the CISA KEV catalog, but organizations should treat it as a high‑risk information‑disclosure flaw until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gitea to version 1.27.0 or later, which enforces correct scope checks on the userinfo endpoint.
  • If upgrading is not immediately possible, restrict the exposure of the userinfo endpoint to trusted networks or block external access via firewall rules.
  • Review and tighten API token scopes, ensuring that tokens are only granted the minimal scopes required for their intended purpose.

Generated by OpenCVE AI on August 14, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mg4f-x9v4-6h2p Gitea: OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
Title OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
Weaknesses CWE-200
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 5:42 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM