Description
OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
Published: 2026-08-13
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Sat, 15 Aug 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 14 Aug 2026 18:30:00 +0000

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'}


Fri, 14 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Thu, 13 Aug 2026 17:00:00 +0000

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

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T17:42:09.138Z

Reserved: 2026-07-08T09:19:08.021Z

Link: CVE-2026-55982

cve-icon Vulnrichment

Updated: 2026-08-14T17:41:59.152Z

cve-icon NVD

Status : Deferred

Published: 2026-08-13T17:17:24.750

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-55982

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T19:45:16Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor