Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-48936

ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection
Back to all
CVE

CVE-2025-48936

ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection

Impact

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.

Patches

Patched version ensure proper validation of the headers and do not allow downgrading from https to http.

3.x versions are fixed on >=3.2.2

2.71.x versions are fixed on >=2.71.11

2.x versions are fixed on >=2.70.12

Workarounds

The recommended solution is to update ZITADEL to a patched version.

A ZITADEL fronting proxy can be configured to delete all Forwarded and X-Forwarded-Host header values before sending requests to ZITADEL self-hosted environments.

Questions

If you have any questions or comments about this advisory, please email us at security@zitadel.com

Credits

Thanks to Amit Laish – GE Vernova for finding and reporting the vulnerability.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
C
H
U
8.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/zitadel/zitadel/security/advisories/GHSA-93m4-mfpg-c3xf, https://nvd.nist.gov/vuln/detail/CVE-2025-48936, https://github.com/zitadel/zitadel/commit/c097887bc5f680e12c998580fb56d98a15758f53, https://github.com/zitadel/zitadel

Severity

8.1

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.1
EPSS Probability
0.00186%
EPSS Percentile
0.40293%
Introduced Version
0,2.38.3,v0.0.0-20240731150038-3d071fc505b5,v3.0.0-rc.1,v2.71.0-rc.1,v2.59.0-rc.1,v0.0.0-20231010132053-8f6cb4756794,v2.30.0-eventstore-performance.14
Fix Available
0.0.0-20250528081227-c097887bc5f6,2.70.12,v0.0.0-20250528081227-c097887bc5f6,v3.2.2,v2.71.11,v2.70.12

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading