CVE-2026-118394: OAuth2 Userinfo Endpoint - Information Disclosure
- Cve: CVE-2026-118394
- Name: OAuth2 Userinfo Endpoint - Information Disclosure
- Description: The OAuth2 userinfo endpoint (`/login/oauth/userinfo`) decided whether to limit the `groups` claim to public organizations by re-parsing the `Authorization` header as an OAuth2 access token instead of using the scope of the credential that authenticated the request. When a public-only OAuth2 token was sent as a query parameter or form field, or a public-only personal access token was used, that scope came back empty and the claim listed the token owner's private organizations, teams and concealed memberships. The disclosure is limited to the owner's organization and team names and memberships; no repository content is exposed. The endpoint now uses the scope of the authenticating token.
- Impact: Attackers can disclose private organization and team memberships of token owners, but no repository content is exposed.
- Remediation: Update to the fixed version where the endpoint uses the scope of the authenticating token.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00312
- Epss percentile: 0.24266
- Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
- Published at: 2026-11-01T10:18:36Z
- Age in days: 23
- Modified at: 2026-11-06T15:17:11Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-118394
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitea:gitea | >= 1.23.0, < 28.3.0 | no | cna_alias | /v1/products/gitea/gitea |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| go-gitea/gitea | pull, releases, security_advisory | yes | /v1/repositories/go-gitea/gitea |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 33493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports