Vulnerability · Published Oct 29, 2025 · Assigned by GitHub_M
CVE-2025-64101ZITADEL Vulnerable to Account Takeover via Malicious Forwarded Header Injection
High 8.1
In plain English
A high-severity open redirect in zitadel from zitadel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/zitadel/zitadel | no fix listed | GO-2025-4084 |
| Go | github.com/zitadel/zitadel/v2 | 2.71.18 | GHSA-mwmh-7px9-4c23 |
| Go | github.com/zitadel/zitadel/v2 | 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3 | GHSA-mwmh-7px9-4c23 |
Affected products (as reported)
Weakness: CWE-601, CWE-640 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N