CVE-2026-29191 — Vulnerability in github.com/zitadel/zitadel
ZITADEL has 1-Click Account Takeover via XSS in /saml-post Endpoint
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.46%). Schedule for your next planned update.
Does your project use an affected github.com/zitadel/zitadel version?
Paste your go.sum to check it for CVE-2026-29191 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
A vulnerability was discovered in Zitadel's login V2 interface that allowed a possible account takeover.
Impact
Zitadel exposes an HTTP endpoint named /saml-post. This endpoint is used for handling requests to SAML IdPs and accepts two HTTP GET parameters: url and id. When these parameters are supplied, users’ browsers auto-submit an HTTP POST request to the provided url parameter.
The endpoint insecurely redirects users using the provided url GET parameter. As a result, by specifying a javascript: scheme, malicious JS code could be executed on Zitadel users’ browsers.
The endpoint also reflects user-supplied input in the server response, without HTML-encoding it. As a result, it is possible to inject arbitrary HTML code, which again leads to malicious JS code execution in the Zitadel users’ browsers.
An unauthenticated remote attacker can exploit these XSS vulnerabilities, and thus, execute malicious JavaScript code on behalf of Zitadel users. By doing so, such an attacker could reset the password of their victims, and take over their accounts.
It's important to note that this specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled.
Affected Versions
Systems running one of the following versions are affected:
- 4.x:
4.0.0through4.11.1(including RC versions)
Important Note: Although this /saml-post endpoint is used when Zitadel is integrated with a SAML Identity Provider (IdP), the vulnerability in this finding does not require Zitadel to be configured with a SAML IdP. Consequently, Zitadel is vulnerable in its default, out-of-the-box configuration.
Patches
The vulnerability has been addressed in the latest releases. The patch reworked the integration of SAML IdPs and the /saml-post endpoint no longer exists. Additionally, the page to change the password, now always requires the user's current password regardless of the state of the authenticated session.
4.x: Upgrade to >= 4.12.0
Workarounds
The recommended solution is to upgrade to a patched version. If an upgrade is not possible and no SAML IdP integration is needed, a WAF or reverse proxy rule can be deployed to prevent access to the endpoint.
Questions
If there are any questions or comments about this advisory, please email them to security@zitadel.com
Credits
ZITADEL extends thanks once again to Amit Laish from GE Vernova for finding and reporting the vulnerability.
Advisory Timeline
- First published March 4, 2026 (267 days ago).
- Last revised March 23, 2026 — 18 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/zitadel/zitadel@v4.12.0
go get github.com/zitadel/zitadel/v2@v4.12.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| github.com/zitadel/zitadel Go · Affected: All versions | 4.12.0 |
| github.com/zitadel/zitadel/v2 Go · Affected: All versions | 4.12.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-29191?
- ZITADEL has 1-Click Account Takeover via XSS in /saml-post Endpoint. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2026-29191?
- CVE-2026-29191 affects github.com/zitadel/zitadel and github.com/zitadel/zitadel/v2. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-29191 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 31.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-67494CRITICAL
ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login
- CVE-2025-27507CRITICAL
IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations
- CVE-2026-29193HIGH
ZITADEL: Login V2 UI Policy Bypass Allows Unauthorized Self-Registration and Authentication
- CVE-2025-48936HIGH
ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection
- CVE-2025-64103HIGH
Zitadel May Bypass Second Authentication Factor
- CVE-2026-29067HIGH
ZITADEL Vulnerable to Account Takeover Due to Improper Instance Validation in V2 Login
- CVE-2025-67495HIGH
ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login
- CVE-2025-64102HIGH
Zitadel allows brute-forcing authentication factors