Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105211 Overview
CVE-2026-105211 is an authentication bypass vulnerability in ZITADEL identity and access management platform versions before 4.17.1. The flaw resides in the Login V2 implementation, where OTP (One-Time Password) codes delivered via the returnCode delivery type are exposed in server-action responses. Unauthenticated attackers who know a victim's login name can retrieve OTP-Email and OTP-SMS codes directly from API responses, bypassing multi-factor authentication (MFA). Successful exploitation yields fully authenticated sessions, including administrator accounts. The vulnerability is tracked under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Critical Impact
Unauthenticated remote attackers can take over any ZITADEL account, including administrators, by reading OTP codes from server responses when the victim has OTP-Email or OTP-SMS enrolled.
Affected Products
- ZITADEL versions prior to 4.17.1
- Deployments using Login V2 with OTP-Email factor enrolled
- Deployments using Login V2 with OTP-SMS factor enrolled
Discovery Timeline
- 2026-10-04 - CVE-2026-105211 published to NVD
- 2026-10-05 - Last updated in NVD database
Technical Details for CVE-2026-105211
Vulnerability Analysis
ZITADEL's Login V2 supports multiple delivery mechanisms for OTP codes. The returnCode delivery type is intended for scenarios where the integrating application handles code delivery itself, returning the generated code in the API response rather than sending it to the user's email or phone. The flaw allows this delivery path to be invoked for OTP factors enrolled by the victim with standard email or SMS delivery expectations.
An attacker only needs to know a valid login name. By initiating a Login V2 flow and triggering OTP generation with the returnCode option, the server includes the plaintext OTP code in its response. The attacker then submits that code to complete the MFA step, obtaining a session with full MFA assertions.
This bypass defeats the primary security guarantee of MFA, which assumes possession of a secondary channel. Administrator accounts protected by OTP-Email or OTP-SMS are compromisable without social engineering, phishing, or credential theft.
Root Cause
The root cause is an authorization and information disclosure defect in the OTP code generation API. The returnCode delivery type lacked restrictions preventing its use against factors the caller does not control, and the response path exposed secrets intended for out-of-band delivery.
Attack Vector
The vulnerability is exploitable over the network with no authentication and no user interaction. An attacker interacts with the ZITADEL Login V2 API, requests an OTP for a known login name, selects the returnCode delivery, and reads the returned code. The code is then replayed to complete authentication.
No public exploit code is available at publication. Technical details are described in the GitHub Security Advisory GHSA-3gwm-5wx8-4gm6 and the VulnCheck advisory.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-105211
Indicators of Compromise
- Login V2 API requests that specify returnCode as the OTP delivery type for user accounts that normally receive codes via email or SMS.
- Successful MFA completions immediately preceded by an OTP generation call from the same source IP, with no corresponding outbound email or SMS delivery event.
- Session creation events for administrator accounts from unfamiliar IP addresses, user agents, or geolocations.
Detection Strategies
- Correlate ZITADEL audit logs for OTP generation requests against mail and SMS gateway delivery logs. Discrepancies indicate returnCode usage.
- Alert on any Login V2 OTP flow where the delivery type is returnCode but the targeted user has email or SMS factors enrolled.
- Review authentication logs for high-value accounts for abnormal sequences of API calls completing MFA in rapid succession.
Monitoring Recommendations
- Enable verbose logging on the ZITADEL Login V2 endpoints and forward events to a centralized logging platform.
- Monitor administrative role assignments and privileged action events for anomalies following authentication from new sources.
- Baseline normal OTP delivery patterns per user, then alert on deviations in delivery type or request origin.
How to Mitigate CVE-2026-105211
Immediate Actions Required
- Upgrade all ZITADEL instances to version 4.17.1 or later without delay.
- Audit authentication and audit logs since the deployment of any vulnerable version for suspicious OTP flows and session creations.
- Rotate credentials and invalidate active sessions for administrator and high-privilege accounts.
Patch Information
The vendor fixed this issue in ZITADEL 4.17.1. See the GitHub Security Advisory GHSA-3gwm-5wx8-4gm6 for upgrade guidance and release notes. Operators running self-hosted deployments should pull the patched container image or binary and redeploy. ZITADEL Cloud tenants managed by the vendor receive the fix centrally.
Workarounds
- Restrict network access to the ZITADEL Login V2 API using a web application firewall or reverse proxy to block requests specifying returnCode from untrusted sources until patched.
- Temporarily disable OTP-Email and OTP-SMS factors in favor of TOTP or WebAuthn authenticators that are not affected by this delivery flaw.
- Enforce IP allowlisting for administrator login flows where feasible.
# Upgrade example for container deployments
docker pull ghcr.io/zitadel/zitadel:v4.17.1
docker stop zitadel && docker rm zitadel
docker run -d --name zitadel \
-p 8080:8080 \
-e ZITADEL_EXTERNALSECURE=true \
ghcr.io/zitadel/zitadel:v4.17.1 start-from-init
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

