ZITADEL: Unauthorized Token Privilege Escalation in OAuth2 Token Exchange (CVE-2026-56668)
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.
AI Analysis
Technical Summary
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.
ZITADEL: Unauthorized Token Privilege Escalation in OAuth2 Token Exchange (CVE-2026-56668)
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
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
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.
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 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.