Skip to main content

ZITADEL: Unauthorized Token Privilege Escalation in OAuth2 Token Exchange (CVE-2026-56668)

0
High
Published: 09/14/2026 (09/14/2026, 21:28:23 UTC)
Source: GCVE Database
Product: github.com/zitadel/zitadel

Description

A vulnerability in ZITADEL's OAuth2 Token Exchange endpoint allows an authenticated user or client to escalate privileges by exchanging a low-privilege token for a token with elevated permissions in a different application. This occurs due to missing verification of token ownership and scope restrictions during the token exchange process. The flaw affects ZITADEL versions 3.0.0 through 3.4.12 and 4.0.0 through 4.15.2. The issue has been fixed in versions 4.15.3 and later. Mitigations include upgrading to a patched version, disabling the Token Exchange feature flag, or removing the token exchange grant type from applications.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

Goghsa
github.com/zitadel/zitadel
Affected versions
<4.15.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 02:06:17 UTC

Technical Analysis

ZITADEL's OAuth2 Token Exchange endpoint (grant type urn:ietf:params:oauth:grant-type:token-exchange) lacks proper validation to ensure that the incoming access token belongs to or is authorized for the client requesting the exchange. Additionally, it does not enforce that the requested scopes during token exchange remain within the original token's scopes. This allows an attacker with a low-privilege token to obtain a token with elevated permissions for a different, more privileged application, bypassing intended authorization and separation policies. Public clients without client secrets increase the risk. The vulnerability affects versions 3.0.0 through 3.4.12 and 4.0.0 through 4.15.2. The issue is resolved in version 4.15.3 by enforcing strict audience ownership verification and scope restrictions during token exchange.

Potential Impact

An attacker with access to a low-privilege token can exploit this vulnerability to escalate privileges by obtaining tokens with administrative roles or access to sensitive data in other applications within the system. This bypasses configured client permissions, project roles, and scope restrictions, potentially leading to unauthorized access and data exposure. The risk is higher for public clients that do not require client authentication.

Mitigation Recommendations

A fix is available in ZITADEL version 4.15.3 and later; upgrading to these versions is the recommended remediation. If immediate upgrade is not possible, mitigate by disabling the Token Exchange feature flag (ZITADEL_DEFAULTINSTANCE_FEATURES_TOKENEXCHANGE=false) in versions prior to 4.11.0, or by removing the Token Exchange grant type from all configured applications, especially high-privilege or public clients. These mitigations prevent exploitation by disabling or restricting the vulnerable functionality.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-vrh8-c9cm-wh8v
Osv Schema Version
1.4.0
Aliases
["CVE-2026-56668"]
Ecosystems
["Go"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6aa8a1da55bf5e2cf5f3ea90

Added to database: 09/15/2026, 01:39:38 UTC

Last enriched: 09/15/2026, 02:06:17 UTC

Last updated: 09/15/2026, 03:01:49 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses