Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/zitadel/zitadel/v2
  4. ›
  5. CVE-2025-64101

CVE-2025-64101: ZITADEL Vulnerable to Account Takeover via Malicious Forwarded Header Injection

October 29, 2025 (updated November 5, 2025)

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.

References

  • github.com/advisories/GHSA-mwmh-7px9-4c23
  • github.com/zitadel/zitadel
  • github.com/zitadel/zitadel/commit/72a5c33e6ac302b978d564bd049f9364f5a989b1
  • github.com/zitadel/zitadel/security/advisories/GHSA-mwmh-7px9-4c23
  • nvd.nist.gov/vuln/detail/CVE-2025-64101
  • pkg.go.dev/vuln/GO-2025-4084

Code Behaviors & Features

Detect and mitigate CVE-2025-64101 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.71.18

Fixed versions

  • 2.71.18

Solution

Upgrade to version 2.71.18 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
  • CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Source file

go/github.com/zitadel/zitadel/v2/CVE-2025-64101.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Nov 2025 00:21:21 +0000.