Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/zitadel/zitadel
  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 before 0.0.0-20250528081227-c097887bc5f6

Fixed versions

  • 0.0.0-20250528081227-c097887bc5f6

Solution

Upgrade to version 0.0.0-20250528081227-c097887bc5f6 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/CVE-2025-48936.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 23 Jan 2026 00:18:02 +0000.