Servers and applications
GHSA-8cr2-7rvm-hxq5
Account takeover via host header in the identity provider flow of Login V2
- Severity
- High 8.1
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 4.20.8
- Weakness
- Open redirect (CWE-601)
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N- Sources
- Project advisories (GitHub)
Description
ZITADEL’s hosted Login V2 UI allowed an unauthenticated attacker to have a victim’s sign-in at an external identity provider returned to a host of the attacker’s choosing, together with the one-time values that complete that sign-in. If the victim signed in at the identity provider through a link prepared by the attacker, the attacker could finish the login in their own browser and obtain a session as the victim.
Login V2 built the address the browser returns to after an identity provider sign-in from the public host request headers (x-zitadel-public-host, x-zitadel-forward-host, x-forwarded-host), without verifying that host against the instance’s trusted domains as is done for links sent by email.
An attacker who can send requests to the login and gets a victim to complete a sign-in at an external identity provider through a link the attacker prepared can:
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, a ZITADEL fronting proxy can be configured to strip or overwrite the x-zitadel-public-host header (along with x-zitadel-forward-host and x-forwarded-host) on all inbound requests, so that the public host cannot be set by a client.
Affected software
| Software | Affected versions |
|---|---|
ZITADELServers and applications · github:zitadel/zitadel |
|
About ZITADEL
ZITADEL - Identity infrastructure, simplified for you.
- GitHub stars
- 15,672GitHub, 29 Nov 2026
- Forks
- 1,447GitHub, 29 Nov 2026
- Latest release
- v4.20.6GitHub, 29 Nov 2026
- Released
- 25 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- First published on GitHub
- 16 Mar 2020GitHub
Vulnerabilities in ZITADEL
- In our list
- 110
- Published in the last 12 months
- 79
- Critical, last 12 months
- 15
- High, last 12 months
- 42
- Known exploited
- 0
- GHSA-68mv-8rxc-2rrrPrivilege escalation by creating a user with the ID of a user in another organizationCritical 9.6 1 Dec 2026
- GHSA-j24h-w6rf-r4c6Management API allows organization managers to modify user grants in other organizationsHigh 7.1 1 Dec 2026
- GHSA-qx3g-qf45-rmvqPrivilege escalation to instance and system administrator via project creationCritical 9.9 1 Dec 2026
- GHSA-6hq4-74jm-4hj4Account takeover via password reset code returned without user.writeHigh 7.3 1 Dec 2026
- GHSA-g8gm-547r-665mUnauthenticated user attribute disclosure via SAML AttributeQueryHigh 7.5 1 Dec 2026
- CVE-2026-135175ZITADEL 4.19.5 before 4.20.3 Account Takeover via x-zitadel-public-host HeaderHigh 8.6 23 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-8cr2-7rvm-hxq5
- github.com https://github.com/zitadel/zitadel/security/advisories/GHSA-8cr2-7rvm-hxq5