CVE-2025-64101 ZITADEL Vulnerable to Account Takeover via Malicious Forwarded Header Injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Zitadel is open-source identity infrastructure software. Prior to 4.6.0, 3.4.3, and 2.71.18, a potential vulnerability exists in ZITADEL's password reset mechanism. ZITADEL utilizes the Forwarded or X-Forwarded-Host header from incoming requests to construct the URL for the password reset confirmation link. This link, containing a secret code, is then emailed to the user. If an attacker can manipulate these headers (e.g., via host header injection), they could cause ZITADEL to generate a password reset link pointing to a malicious domain controlled by the attacker. If the user clicks this manipulated link in the email, the secret reset code embedded in the URL can be captured by the attacker. This captured code could then be used to reset the user's password and gain unauthorized access to their account. It's important to note that this specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled. This vulnerability is fixed in 4.6.0, 3.4.3, and 2.71.18.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zitadel github.com/zitadel/zitadel(Go) | < 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3; >= 2.0.0, < 2.71.18; All versions | 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3, 2.71.18 | Partially fixed |
| zitadel github.com/zitadel/zitadel | < 2.71.18; = >= 2.0.0, < 2.71.18; = >= 3.0.0-rc.1, < 3.4.3; = >= 4.0.0-rc.1, < 4.6.0 +2 more | 2.71.18, 3.4.3, 4.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zitadel github.com/zitadel/zitadel(Go) | >= 2.0.0, < 2.71.18 | 2.71.18 |
| zitadel github.com/zitadel/zitadel(Go) | < 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3 | 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3 |
| zitadel github.com/zitadel/zitadel(Go) | All versions | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 4.0.0-rc.1, < 4.6.0 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 3.0.0-rc.1, < 3.4.3 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.0.0, < 2.71.18 | No fix listed |
| zitadel github.com/zitadel/zitadel | < 2.71.18 | 2.71.18 |
| zitadel github.com/zitadel/zitadel | >= 3.0.0, < 3.4.3 | 3.4.3 |
| zitadel github.com/zitadel/zitadel | >= 4.0.0, < 4.6.0 | 4.6.0 |
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-mwmh-7px9-4c23 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/zitadel/zitadel/commit/72a5c33e6ac302b978d564bd049f9364f5a989b1 patch
- github.com product
- pkg.go.dev
- github.com