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

CVE-2025-48936: ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection

May 28, 2025 (updated May 30, 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-93m4-mfpg-c3xf
  • github.com/zitadel/zitadel
  • github.com/zitadel/zitadel/commit/c097887bc5f680e12c998580fb56d98a15758f53
  • github.com/zitadel/zitadel/security/advisories/GHSA-93m4-mfpg-c3xf
  • nvd.nist.gov/vuln/detail/CVE-2025-48936

Code Behaviors & Features

Detect and mitigate CVE-2025-48936 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, all versions starting from 2.38.3 before 2.70.12, all versions starting from 2.71.0 before 2.71.11, all versions starting from 3.0.0-rc1 before 3.2.2

Fixed versions

  • 2.70.12
  • 3.2.2
  • 2.71.11

Solution

Upgrade to versions 2.70.12, 2.71.11, 3.2.2 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')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 08 Jan 2026 12:19:58 +0000.