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

Published Jul 10, 2026
·
Updated

Summary

A vulnerability in ZITADEL’s OAuth2 Token Exchange endpoint allows an authenticated user or client to exchange a low-privilege access token for a token with elevated permissions at a completely different application. This bypasses the intended authorization and separation policies configured within ZITADEL.

Impact

ZITADEL enables administrators to restrict token issuance based on client permissions, project roles, and specific scopes. Due to a missing verification step during the Token Exchange flow (urn:ietf:params:oauth:grant-type:token-exchange), ZITADEL fails to validate whether the incoming access token belongs to or is authorized for the client initiating the exchange. Additionally, ZITADEL does not enforce that the newly requested scopes must stay within the boundaries of the original token's scopes.

An attacker with valid access to a low-privilege application can exploit this behavior by sending a token exchange request to a highly-privileged target application. This allows them to obtain administrative project roles, access sensitive profile data, or gain unauthorized access to other applications across the system. If public clients (which do not require client secrets) are used, this risk increases significantly as it requires no client authentication.

Affected Versions

Systems running one of the following versions are affected:

4.x: 4.0.0 through 4.15.2 (including RC versions) 3.x: 3.0.0 through 3.4.12 (including RC versions)

Patches

The vulnerability has been addressed in the latest releases. The patch resolves the issue by enforcing strict audience ownership verification and ensuring that requested scopes during a token exchange are restricted to a subset of the original token’s scopes.

4.x: Upgrade to $\ge$ 4.15.3 3.x: Upgrade to $\ge$ 4.15.3

Workarounds

The recommended solution is to upgrade to a patched version immediately. If an immediate upgrade is not possible, implement one of the following mitigations: - Disable via Feature Flag: Ensure the Token Exchange feature flag is explicitly turned off in your instance settings or environment variables (ZITADELDEFAULTINSTANCEFEATURESTOKENEXCHANGE=false). If the feature flag is disabled, the endpoint is unreachable and your system is not vulnerable. This is only possible in versions prior to v4.11.0, where the feature was not yet GA. - Remove the Grant Type: Ensure that the Token Exchange grant type is completely disabled or removed from all configured applications—especially high-privilege or public clients.

Questions

If you have any questions or comments about this advisory, please email us at security@zitadel.com.

Credits

Thanks to thesecguy45 and Shubham Raj / Causal Security for reporting this vulnerability.

Other sources

ZITADEL is an open source identity management platform. Prior to 4.15.3, ZITADEL's OAuth2 Token Exchange endpoint for urn:ietf:params:oauth:grant-type:token-exchange does not verify that the subject token belongs to the requesting client or that requested scopes remain within the original token's scopes, allowing a low-privilege token to be exchanged for elevated permissions at another application. This issue is fixed in version 4.15.3.

— MITRE

Affected Software

2 affected componentsFixes available
Zitadel<4.15.3
go/github.com/zitadel/zitadel<4.15.3
4.15.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/zitadel/zitadel to a version that resolves this vulnerability.

    Fixed in 4.15.3
  2. Upgrade

    Upgrade zitadel/zitadel to a version that resolves this vulnerability.

    Fixed in 4.15.3
  3. Configuration

    Disable the Token Exchange feature flag by setting ZITADEL_DEFAULTINSTANCE_FEATURES_TOKENEXCHANGE=false so the OAuth2 Token Exchange endpoint (urn:ietf:params:oauth:grant-type:token-exchange) is unreachable.

    ZITADEL instance settings / environment variables ZITADEL_DEFAULTINSTANCE_FEATURES_TOKENEXCHANGE = false
  4. Configuration

    Remove/disable the Token Exchange grant type completely from all configured applications/clients, especially high-privilege or public clients, so token-exchange requests cannot be used for privilege escalation.

    ZITADEL OAuth2 clients / grant configuration token-exchange grant type = disabled

Event History

Jul 10, 2026
CVE Published
via MITRE·05:46 PM
Data Sourced
via MITRE·05:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Sep 14, 2026
Advisory Published
via GitHub·09:28 PM
Data Sourced
via GitHub·09:28 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-56668?

CVE-2026-56668 has a severity rating of high, with a score of 8.1.

2

How do I fix CVE-2026-56668?

To fix CVE-2026-56668, upgrade to ZITADEL version 4.15.3 or higher.

3

What vulnerability does CVE-2026-56668 address?

CVE-2026-56668 addresses unauthorized token privilege escalation in the OAuth2 Token Exchange.

4

What platforms are affected by CVE-2026-56668?

CVE-2026-56668 affects the ZITADEL identity management platform versions prior to 4.15.3.

5

What is the impact of exploiting CVE-2026-56668?

Exploiting CVE-2026-56668 could allow an attacker to escalate privileges by exchanging tokens without proper verification.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203