Vulnerability · Published May 30, 2025 · Assigned by GitHub_M

CVE-2025-48936ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto 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 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.4%top 64.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/zitadel/zitadel0.0.0-20250528081227-c097887bc5f6GHSA-93m4-mfpg-c3xf
Gogithub.com/zitadel/zitadel0.0.0-20250528081227-c097887bc5f6GO-2025-3721
Gogithub.com/zitadel/zitadel/v22.70.12GHSA-93m4-mfpg-c3xf
Gogithub.com/zitadel/zitadel/v23.2.2GHSA-93m4-mfpg-c3xf
Gogithub.com/zitadel/zitadel/v22.71.11GHSA-93m4-mfpg-c3xf
Gogithub.com/zitadel/zitadel/v2no fix listedGHSA-93m4-mfpg-c3xf

Affected products (as reported)

VendorProductVersions
zitadel zitadel < 2.70.12>= 2.71.0, <= 2.71.10>= 3.0.0-rc1, < 3.2.2

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References