All vulnerabilities

Servers and applications

CVE-2026-56668

Unauthorized Token Privilege Escalation in OAuth2 Token Exchange

Severity
High 8.1
Published
22 Jun 2026
Last changed
23 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.15.3
Exploit chance
0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-vrh8-c9cm-wh8v
Sources
Project advisories (GitHub)

Description

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.

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.

From zitadel/zitadel's security advisory. Shortened; the full text is there.

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 (ZITADEL_DEFAULTINSTANCE_FEATURES_TOKENEXCHANGE=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.
Workarounds as given by zitadel/zitadel's security advisory.

Affected software

SoftwareAffected versions
ZITADELServers and applications · github:zitadel/zitadel
  • Every version before 4.15.3

About ZITADEL

ZITADEL - Identity infrastructure, simplified for you.

From its GitHub repository.
GitHub stars
15,585GitHub, 15 Nov 2026
Forks
1,432GitHub, 15 Nov 2026
Latest release
v4.20.3GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
16 Mar 2020GitHub

References