CVE-2025-48936 ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto 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 versions 2.70.12, 2.71.10, and 3.2.2, a potential vulnerability exists in the 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. This specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled. This issue has been patched in versions 2.70.12, 2.71.10, and 3.2.2.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zitadel github.com/zitadel/zitadel(Go) | < 0.0.0-20250528081227-c097887bc5f6; < 2.38.2-0.20240919104753-94d1eb767837; >= 2.38.3, < 2.70.12; >= 2.71.0, < 2.71.11 +3 more | 0.0.0-20250528081227-c097887bc5f6, 2.38.2-0.20240919104753-94d1eb767837, 2.70.12, 2.71.11, 3.2.2 | Partially fixed |
| zitadel github.com/zitadel/zitadel | = < 2.70.12; = >= 2.71.0, <= 2.71.10; = >= 3.0.0-rc1, < 3.2.2; >= 2.0.0, < 2.70.12 +2 more | 2.70.12, 2.71.11, 3.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zitadel github.com/zitadel/zitadel(Go) | < 0.0.0-20250528081227-c097887bc5f6 | 0.0.0-20250528081227-c097887bc5f6 |
| zitadel github.com/zitadel/zitadel(Go) | >= 2.38.3, < 2.70.12 | 2.70.12 |
| zitadel github.com/zitadel/zitadel(Go) | >= 3.0.0-rc1, < 3.2.2 | 3.2.2 |
| zitadel github.com/zitadel/zitadel(Go) | >= 2.71.0, < 2.71.11 | 2.71.11 |
| zitadel github.com/zitadel/zitadel(Go) | All versions | No fix listed |
| zitadel github.com/zitadel/zitadel(Go) | >= 2.71.0, <= 2.71.10 | No fix listed |
| zitadel github.com/zitadel/zitadel(Go) | < 2.38.2-0.20240919104753-94d1eb767837 | 2.38.2-0.20240919104753-94d1eb767837 |
| zitadel github.com/zitadel/zitadel | = < 2.70.12 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.71.0, <= 2.71.10 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 3.0.0-rc1, < 3.2.2 | No fix listed |
| zitadel github.com/zitadel/zitadel | >= 2.0.0, < 2.70.12 | 2.70.12 |
| zitadel github.com/zitadel/zitadel | >= 2.71.0, < 2.71.11 | 2.71.11 |
| zitadel github.com/zitadel/zitadel | >= 3.0.0, < 3.2.2 | 3.2.2 |
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-93m4-mfpg-c3xf patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/zitadel/zitadel/commit/c097887bc5f680e12c998580fb56d98a15758f53 patch
- github.com product
- github.com