CVE-2026-55982
Received Received - Intake

OIDC Userinfo Endpoint Exposes Identity Claims Without Token Scope Enforcement

Vulnerability report for CVE-2026-55982, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
go-gitea gitea to 1.26.2 (inc)
go-gitea gitea 1.27.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Gitea versions up to 1.26.2. 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 scopes, like read:misc, to retrieve sensitive user information such as email and group memberships.

Detection Guidance

To detect this vulnerability, check if your Gitea instance is running a version up to 1.26.2. Use commands like 'gitea --version' or inspect the version in the web interface under Site Administration. Verify if the OIDC userinfo endpoint (GET /login/oauth/userinfo) accepts API tokens without scope enforcement by testing with a token scoped to read:misc and checking if it returns identity claims.

Impact Analysis

The vulnerability allows unauthorized disclosure of identity information tied to the authenticated user. While it does not grant access to repositories, issues, or administrative functions, it weakens scope-based authorization controls, potentially exposing personal data like email and group memberships.

Mitigation Strategies

Upgrade Gitea to version 1.27.0 or later immediately to patch the vulnerability. If upgrading is not possible, restrict access to the OIDC userinfo endpoint or disable OIDC functionality until the update is applied. Monitor logs for unauthorized access attempts to this endpoint.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55982. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart