Vulnerabilities in pkg:golang/github.com/zitadel/zitadel/v2

PACKAGE
Advisory Identifier: GHSA-pr34-2v5x-6qjq
Advisory Summary

CVE-2026-29191 is a CRITICAL (CVSS 9.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves zitadel has 1-click account takeover via xss in /saml-post endpoint. Remediation is available by upgrading affected packages to version 4.12.0.

15 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/zitadel/zitadel/v2

15 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/zitadel/zitadel/v2. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-pr34-2v5x-6qjq CVE-2026-29191 CRITICAL ZITADEL has 1-Click Account Takeover via XSS in /saml-post Endpoint
GHSA-pfrf-9r5f-73f5 CVE-2026-29067 HIGH ZITADEL Vulnerable to Account Takeover Due to Improper Instance Validation in V2 Login
GHSA-6rx5-m2rc-hmf7 CVE-2026-29192 HIGH ZITADEL: Stored XSS via Default URI Redirect Leads to Account Takeover
GHSA-25rw-g6ff-fmg8 CVE-2026-29193 HIGH ZITADEL: Login V2 UI Policy Bypass Allows Unauthorized Self-Registration and Authentication
GHSA-7777-fhq9-592v CVE-2026-27945 LOW ZITADEL has potential SSRF via Actions
GHSA-v959-qxv6-6f8p CVE-2025-67495 HIGH ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login
GHSA-7wfc-4796-gmg5 CVE-2025-67494 CRITICAL ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login
GHSA-cfjq-28r2-4jv5 CVE-2025-64103 HIGH Zitadel May Bypass Second Authentication Factor
GHSA-xrw9-r35x-x878 CVE-2025-64102 HIGH Zitadel allows brute-forcing authentication factors
GHSA-mwmh-7px9-4c23 CVE-2025-64101 HIGH ZITADEL Vulnerable to Account Takeover via Malicious Forwarded Header Injection
GHSA-93m4-mfpg-c3xf CVE-2025-48936 HIGH ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection
GHSA-f3gh-529w-v32x CVE-2025-27507 CRITICAL IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations
GHSA-jj94-6f5c-65r8 CVE-2024-47060 HIGH ZITADEL Allows Unauthorized Access After Organization or Project Deactivation
GHSA-qr2h-7pwm-h393 CVE-2024-47000 HIGH ZITADEL's Service Users Deactivation not Working
GHSA-2w5j-qfvw-2hf5 CVE-2024-46999 HIGH ZITADEL's User Grant Deactivation not Working

CVE-2026-29191 at a Glance

CVE Identifier CVE-2026-29191
GHSA Identifier GHSA-pr34-2v5x-6qjq
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/zitadel/zitadel
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-29191

To remediate this vulnerability, upgrade all affected Github.com/zitadel/zitadel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/zitadel/zitadel fixed: 4.12.0
Upgrade github.com/zitadel/zitadel to 4.12.0
github.com/zitadel/zitadel/v2 fixed: 4.12.0
Upgrade github.com/zitadel/zitadel/v2 to 4.12.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/zitadel/zitadel

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-29191, inspect your project dependencies for Github.com/zitadel/zitadel:

inspect dependencies for github.com/zitadel/zitadel

Analyze the terminal output to locate any version of Github.com/zitadel/zitadel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.12.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/zitadel/zitadel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.0` through `4.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](https://github.com/zitadel/zitadel/releases/tag/v4.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](mailto:security@zitadel.com) ### Credits ZITADEL extends thanks once again to Amit Laish from GE Vernova for finding and reporting the vulnerability.

CVE-2026-29191 Affected Github.com/zitadel/zitadel Versions

2 component(s)
Fixed Versions:
4.12.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zitadel/zitadel
Go
≥ 4.0.0
< 4.12.0
4.12.0
github.com/zitadel/zitadel/v2
Go
≥ 4.0.0
< 4.12.0
4.12.0

References

Frequently Asked Questions

What is CVE-2026-29191?
CVE-2026-29191 is a security vulnerability in Github.com/zitadel/zitadel involving ZITADEL has 1-Click Account Takeover via XSS in /saml-post Endpoint under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/zitadel/zitadel versions are affected?
Affected versions include releases prior to 4.12.0 across affected packages: github.com/zitadel/zitadel, github.com/zitadel/zitadel/v2.
What version fixes CVE-2026-29191?
Upgrading to 4.12.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/zitadel/zitadel affected?
Yes, github.com/zitadel/zitadel is affected in releases prior to 4.12.0. Upgrade your dependency to 4.12.0 or later.
Is github.com/zitadel/zitadel/v2 affected?
Yes, github.com/zitadel/zitadel/v2 is affected in releases prior to 4.12.0. Upgrade your dependency to 4.12.0 or later.
What is the CVSS score of CVE-2026-29191?
CVE-2026-29191 has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2026-29191?
CVE-2026-29191 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Go dependencies for CVE-2026-29191?
Run the dependency tree command: 'inspect dependencies for github.com/zitadel/zitadel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pr34-2v5x-6qjq",
  "modified" : "2026-03-09T15:48:27Z",
  "published" : "2026-03-04T22:47:08Z",
  "aliases" : [ "CVE-2026-29191" ],
  "summary" : "ZITADEL has 1-Click Account Takeover via XSS in /saml-post Endpoint",
  "details" : "### Summary\n\nA vulnerability was discovered in Zitadel's login V2 interface that allowed a possible account takeover.\n\n### Impact\n\nZitadel 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.\n \nThe 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. \n\nThe 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.\n\nAn 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.\n\nIt's important to note that this specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled.\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n- **4.x**: `4.0.0` through `4.11.1` (including RC versions)\n \nImportant 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.\n\n### Patches\n\nThe 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.\n\n4.x: Upgrade to >= [4.12.0](https://github.com/zitadel/zitadel/releases/tag/v4.12.0)\n\n### Workarounds\n\nThe 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.\n\n### Questions\n\nIf there are any questions or comments about this advisory, please email them to [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nZITADEL extends thanks once again to Amit Laish from GE Vernova for finding and reporting the vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.12.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.12.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-pr34-2v5x-6qjq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-29191"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zitadel/zitadel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-04T22:47:08Z",
    "nvd_published_at" : "2026-03-07T15:15:55Z"
  }
}