All vulnerabilities

Servers and applications

GHSA-x4c7-fpcx-w9q6

SAML Identity-Provider Confusion in ZITADEL Leads to Account Takeover

Severity
High 8.7
Published
28 Sept 2026
Last changed
28 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.19.2
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

ZITADEL’s SAML identity-provider intent callback (the endpoint used by Login V2 and custom login UIs to complete an external SAML login) accepted an assertion signed by one configured SAML identity provider as proof of identity for a login started against a different SAML identity provider.

On an instance with two or more SAML identity providers, an attacker who can configure one SAML identity provider and controls its signing key could complete a login intent aimed at a second SAML identity provider and obtain an authenticated session as any user linked to that second provider, without any interaction from the victim. The callback selected the identity provider whose certificate verifies the assertion’s signature from the request URL, but resolved the local user account from the login intent, and never checked that the two identity providers were the same.

An attacker who can configure a SAML identity provider on the instance and controls that provider’s signing key can:

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

Workarounds

The recommended solution is to upgrade to a patched version. There is no configuration that fully closes this gap on unpatched versions.

As a partial mitigation, self-hosted deployments can disable public organization registration (DisallowPublicOrgRegistration) to remove the unauthenticated path to organization-administrator permission. This does not close the issue for existing organization administrators.

Workarounds as given by zitadel/zitadel's security advisory.

Affected software

SoftwareAffected versions
ZITADELServers and applications · github:zitadel/zitadel
  • From 3.0.0 up to 3.4.15
  • From 4.0.0 before 4.19.2

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