CVE-2026-55982: CWE-200 in Gitea Gitea Open Source Git Server
OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
AI Analysis
Technical Summary
The vulnerability in Gitea's OIDC userinfo endpoint (CVE-2026-55982) arises because the endpoint accepts API tokens as bearer credentials but fails to enforce scope restrictions before returning identity claims. Consequently, a personal access token with only the 'read:misc' scope can access identity information including email addresses and group memberships. This is inconsistent with the scope enforcement on user-related REST API endpoints, resulting in unauthorized disclosure of identity information associated with the authenticated user. The issue affects all Gitea versions prior to 1.27.0.
Potential Impact
An attacker or user possessing a personal access token with limited scope ('read:misc') can retrieve sensitive identity claims such as email and group memberships from the OIDC userinfo endpoint. This unauthorized disclosure of identity information can lead to privacy violations and potential further targeting based on exposed user details. The vulnerability does not allow modification or deletion of data, nor does it escalate privileges beyond information disclosure.
Mitigation Recommendations
A patch is available for this vulnerability in Gitea version 1.27.0 and later. Users should upgrade to version 1.27.0 or newer to ensure scope restrictions are properly enforced on the OIDC userinfo endpoint. No additional mitigations are indicated by the vendor advisory.
CVE-2026-55982: CWE-200 in Gitea Gitea Open Source Git Server
Description
OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Gitea's OIDC userinfo endpoint (CVE-2026-55982) arises because the endpoint accepts API tokens as bearer credentials but fails to enforce scope restrictions before returning identity claims. Consequently, a personal access token with only the 'read:misc' scope can access identity information including email addresses and group memberships. This is inconsistent with the scope enforcement on user-related REST API endpoints, resulting in unauthorized disclosure of identity information associated with the authenticated user. The issue affects all Gitea versions prior to 1.27.0.
Potential Impact
An attacker or user possessing a personal access token with limited scope ('read:misc') can retrieve sensitive identity claims such as email and group memberships from the OIDC userinfo endpoint. This unauthorized disclosure of identity information can lead to privacy violations and potential further targeting based on exposed user details. The vulnerability does not allow modification or deletion of data, nor does it escalate privileges beyond information disclosure.
Mitigation Recommendations
A patch is available for this vulnerability in Gitea version 1.27.0 and later. Users should upgrade to version 1.27.0 or newer to ensure scope restrictions are properly enforced on the OIDC userinfo endpoint. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mg4f-x9v4-6h2p
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55982"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a600ab59c2644c7f8fe2135
Added to database: 07/22/2026, 00:11:33 UTC
Last enriched: 08/14/2026, 12:56:24 UTC
Last updated: 09/10/2026, 19:36:54 UTC
Views: 43
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.