Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise relying-party app via XSS/log leak
-
DeliverySteal victim authorization code or refresh token
-
ExploitAuthenticate to Zitadel token endpoint as attacker-controlled ClientB
-
InstallSubmit stolen code/refresh_token under ClientB
-
C2Receive access and ID tokens for victim user
-
ExecuteRefresh tokens to maintain persistence
-
ImpactAccess victim resources via OIDC-protected APIs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already possess (1) a valid authorization code, refresh token, or device-code grant belonging to the victim user, obtained via an external weakness such as XSS in a relying-party app, referrer-header leakage, log exposure, or network interception; and (2) credentials for any other OAuth client registered on the same Zitadel instance, which the attacker uses to authenticate the malicious token request. Limiting factors: the code-injection vector is partially blocked when the legitimate client uses PKCE (the attacker would also need the original |
| Impact | The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N (7.4 High) captures the trade-off well: the bug is reachable over the network without authentication, but AC:H reflects that the attacker must already possess a valid intercepted code or refresh token belonging to the victim, which is a non-trivial precondition the vendor calls out explicitly. There is no EPSS, KEV, or SSVC data in the input, and no public exploit identified at time of analysis, so this is best treated as a defense-in-depth weakness rather than a wormable mass-exploitation issue - except on multi-tenant Zitadel deployments, where one tenant's compromised client could redeem another tenant's leaked credentials, which raises priority sharply for SaaS operators. PKCE partially mitigates the code-injection branch but does not protect refresh tokens or device-code exchange, so PKCE-only customers should not treat themselves as fully protected. |
| Exploit ScenarioDerived | An attacker first obtains a victim's authorization code or refresh token through an unrelated weakness in a relying-party application - for example, an XSS that reads the OAuth callback URL, a leaked Referer header, or exposed access logs. They then call Zitadel's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Authentication bypass in Zitadel identity platform (versions 3.0.0-3.4.11 and 4.0.0-4.15.1) allows an attacker who has obtained a victim's authorization code, refresh token, or device authorization grant to redeem it under a different OAuth client registered on the same instance, because the server fails to validate the client_id binding required by RFC 6749 §4.1.3. No public exploit identified at time of analysis; CVSS 7.4 with high attack complexity reflects the requirement that the attacker first intercept the code or token through a separate weakness such as XSS, log exposure, or referrer leakage.
RemediationAI
Vendor-released patch: upgrade 4.x deployments to 4.15.2 or later (https://github.com/zitadel/zitadel/releases/tag/v4.15.2) and 3.x deployments to 3.4.12 or later (https://github.com/zitadel/zitadel/releases/tag/v3.4.12), which reintroduce strict client_id binding on CodeExchange, RefreshToken, and device-code exchange per commit 0973b074b48816757c47fe732b06d2488d3d284c. Until you can upgrade, enforce PKCE on every OAuth client to blunt the authorization-code-injection vector (note this does not protect refresh tokens or device-code flows), shorten refresh token lifetimes and enable rotation so a stolen token has a small window of use (trade-off: more frequent re-auth and replay-detection events), audit application-layer logs, referrer policies, and client-side code for XSS or token-leak channels that would supply the prerequisite stolen credential, and on multi-tenant instances consider temporarily disabling cross-tenant client registration or isolating tenants until patched. Full advisory: https://github.com/zitadel/zitadel/security/advisories/GHSA-xqxv-4jc2-x56x.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zitadel is an open-source identity and access management platform written in Go that acts as an OAuth 2.0 / OIDC authorization server (pkg:go/github.com/zitadel/zitadel). The flaw is a CWE-287 (Improper Authentication) defect in the OIDC token endpoint: the CodeExchange, RefreshToken, and device-code grant handlers omit the check that the authenticated confidential client presenting the credential matches the client that originated the authorization request. RFC 6749 §4.1.3 explicitly requires this binding so that a stolen code or refresh token cannot be replayed by a different client. The upstream fix (commit 0973b074b4) reintroduces the comparison and is covered by new integration tests that assert the error client_id does not correspond to the client_id in the authorization request / …in the refresh token.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable token endpoint (AV:N); attacker must first steal a code/token via external weakness (AC:H); requires credentials for a second registered OAuth client (PR:L); no user interaction; victim confidentiality and integrity high, no availability impact.
Primary rating from Vendor (https://github.com/zitadel/zitadel).
CVSS VectorVendor: https://github.com/zitadel/zitadel
DescriptionCVE.org
Summary
Zitadel's OAuth2 / OIDC CodeExchange and RefreshToken implementations omit a critical validation step to ensure that the requesting client matches the client that originally initiated the authorization flow. This violates RFC 6749 Section 4.1.3, which mandates that the authorization server must ensure the authorization code was issued to the authenticated confidential client.
Impact
This flaw creates potential vulnerabilities in two main authentication phases, provided specific external preconditions are met:
- Authorization Code Injection: An attacker who intercepts an authorization code (via an independent application vulnerability such as XSS, referrer leakage, log access, or network interception) can exchange it using credentials from a completely different client (
ClientB) registered on the same Zitadel instance. Zitadel will authenticateClientBand issue tokens for the victim user without verifying the client binding. - Refresh Token Cross-Use: An attacker who successfully steals a valid refresh token (via an external application exploit or data leak) can present it under a different client identity. Zitadel validates the token's format and expiration but fails to enforce client binding, allowing the attacker to maintain persistent access from an unauthorized client.
- Device Authorization Cross-Use: An attacker who intercepts or manipulates a device authorization flow grant can finalize the exchange using a different client context than the one that initiated the device session, bypassing intended client boundaries.
Scope and Mitigation Factors:
- External Preconditions: It is critical to note that exploiting either vector requires a pre-existing vulnerability or data leak within the target application environment to intercept the code or token in the first place. Securing the application layer against token theft remains outside the scope of Zitadel.
- Multi-tenant risk: On shared or multi-tenant instances, a client belonging to one tenant could theoretically exploit codes/tokens belonging to another tenant's clients if they are successfully intercepted.
- PKCE protection: Clients strictly using PKCE (Proof Key for Code Exchange) are partially mitigated against the authorization code injection vector, as the attacker would still require the
code_verifier. However, PKCE does not protect against refresh token cross-use.
Affected Versions
Systems running one of the following versions are affected:
- 4.x:
4.0.0through4.15.1(including RC versions) - 3.x:
3.0.0through3.4.11(including RC versions)
Patches
The vulnerability has been addressed in the latest releases by re-introducing strict client identity validation on the CodeExchange and RefreshToken grants.
Please upgrade to one of the following secure versions:
Workarounds
The recommended solution is to upgrade to a patched version.
To reduce exposure in the interim, ensure absolute adherence to application security best practices to prevent credential/token theft, enforce the use of PKCE for all clients to mitigate the Authorization Code Injection risk, and minimize refresh token lifespans.
Questions
If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)
Credits
Thanks to kodareef5, Shubham Raj / Causal Security, and Gaurav Popalghat for identifying and responsibly reporting this or a part of this vulnerability.
Executive ViewAI
Zitadel identity platform versions 3.0.0-3.4.11 and 4.0.0-4.15.1 contain an authentication bypass vulnerability that allows attackers with compromised OAuth tokens to fraudulently access accounts associated with different applications on the same instance. Organizations using Zitadel for identity management face heightened account takeover risk, particularly if tokens are exposed through other vulnerabilities such as application bugs or log files. A vendor patch is available and should be deployed immediately.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Same weakness CWE-287 – Improper Authentication
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-42979
GHSA-xqxv-4jc2-x56x
NVD
CVE.org
EPSS
Exploit-DB