All vulnerabilities

Servers and applications

GHSA-jh3m-cr2x-qp88

Cross-user session hijacking and external IdP token theft via forgeable IdP intent tokens

Severity
High 7.7
Published
4 Sept 2026
Last changed
4 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.17.3
Weakness
Insufficiently random values (CWE-330)Improper verification of a cryptographic signature (CWE-347)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

ZITADEL issues an IdP intent token to the login UI after a user completes a login with an external identity provider (IdP). The login UI presents this token, together with the intent’s identifier, to retrieve the result of the external login and to authenticate the user’s session. These tokens were protected with an unauthenticated, malleable encryption mode, so their integrity was not cryptographically verified when they were redeemed.

An authenticated attacker with a valid account on the same instance who also knew a target intent’s identifier could take a token they legitimately obtained for their own intent and modify it into a token that the backend accepted for a different intent. Because the token was validated only by decrypting it and comparing the result to the supplied intent identifier — with no authentication tag or signature — a tampered token whose decrypted value matched was treated as genuine.

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 should enforce strict rate limits and bot protection in front of the API (per ZITADEL’s production checklist), which reduces the already-low probability of a successful attack but does not eliminate it.

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.17.3

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