{"id":"CVE-2025-48936","aliases":["EUVD-2025-16467","GHSA-93m4-mfpg-c3xf","GO-2025-3721"],"status":"published","title":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00411,"percentile":0.35798,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-601","CWE-77"],"published":"2025-05-28T17:36:55Z","modified":"2026-11-11T10:31:08Z","fixes":[{"ecosystem":"Go","package":"github.com/zitadel/zitadel","fixed_in":["0.0.0-20250528081227-c097887bc5f6"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","fixed_in":["2.70.12","3.2.2","2.71.11","2.38.2-0.20240919104753-94d1eb767837"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/zitadel/zitadel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20250528081227-c097887bc5f6"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.38.3"},{"fixed":"2.70.12"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0-rc1"},{"fixed":"3.2.2"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.71.0"},{"last_affected":"2.71.10"},{"fixed":"2.71.11"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.38.2-0.20240919104753-94d1eb767837"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20250528081227-c097887bc5f6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.38.3"},{"fixed":"2.70.12"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0-rc1"},{"fixed":"3.2.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.71.0"},{"fixed":"2.71.11"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20250528081227-c097887bc5f6"}]}]}],"products":[{"vendor":"zitadel","product":"zitadel"}],"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-93m4-mfpg-c3xf","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/zitadel/zitadel/commit/c097887bc5f680e12c998580fb56d98a15758f53","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48936","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-93m4-mfpg-c3xf"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48936.json","tags":["advisory"]},{"url":"https://github.com/zitadel/zitadel","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-48936","title":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection","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.","status":"published","published":"2025-05-30T06:30:57.792Z","modified":"2025-05-30T13:06:54.297Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:32:41.41198Z"}],"euvd":[{"id":"EUVD-2025-16467","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.","status":"published","published":"2025-05-30T06:30:57Z","modified":"2025-05-30T13:06:54Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T20:32:34.937389Z"}],"ghsa":[{"id":"GHSA-93m4-mfpg-c3xf","title":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection","description":"### Impact\n\nA 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.\n\nIf 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.\n\nIt's important to note that this specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled.\n\n### Patches\n\nPatched version ensure proper validation of the headers and do not allow downgrading from https to http.\n\n3.x versions are fixed on \u003e=[3.2.2](https://github.com/zitadel/zitadel/releases/tag/v3.2.2)\n2.71.x versions are fixed on \u003e=[2.71.11](https://github.com/zitadel/zitadel/releases/tag/v2.71.11)\n2.x versions are fixed on \u003e=[2.70.12](https://github.com/zitadel/zitadel/releases/tag/v2.70.12)\n\n### Workarounds\n\nThe recommended solution is to update ZITADEL to a patched version.\n\nA ZITADEL fronting proxy can be configured to delete all Forwarded and X-Forwarded-Host header values before sending requests to ZITADEL self-hosted environments.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to Amit Laish – GE Vernova for finding and reporting the vulnerability.","status":"published","published":"2025-05-28T17:36:55Z","modified":"2025-05-30T15:26:12Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:38:45.948817Z"}],"nvd":[{"id":"CVE-2025-48936","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.","status":"published","published":"2025-05-30T07:15:24.427Z","modified":"2026-06-17T09:30:30.837Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-601","CWE-77"],"updated_at":"2026-11-02T14:11:10.143444Z"}],"osv":[{"id":"CVE-2025-48936","title":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection","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.","status":"published","published":"2025-05-30T06:30:57.792Z","modified":"2026-11-11T10:31:08.431368636Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-601"],"updated_at":"2026-11-11T11:06:34.532568Z"},{"id":"GHSA-93m4-mfpg-c3xf","title":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection","description":"### Impact\n\nA 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.\n\nIf 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.\n\nIt's important to note that this specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled.\n\n### Patches\n\nPatched version ensure proper validation of the headers and do not allow downgrading from https to http.\n\n3.x versions are fixed on \u003e=[3.2.2](https://github.com/zitadel/zitadel/releases/tag/v3.2.2)\n2.71.x versions are fixed on \u003e=[2.71.11](https://github.com/zitadel/zitadel/releases/tag/v2.71.11)\n2.x versions are fixed on \u003e=[2.70.12](https://github.com/zitadel/zitadel/releases/tag/v2.70.12)\n\n### Workarounds\n\nThe recommended solution is to update ZITADEL to a patched version.\n\nA ZITADEL fronting proxy can be configured to delete all Forwarded and X-Forwarded-Host header values before sending requests to ZITADEL self-hosted environments.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to Amit Laish – GE Vernova for finding and reporting the vulnerability.","status":"published","published":"2025-05-28T17:36:55Z","modified":"2026-04-01T17:33:34.727924Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"GO-2025-3721","title":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection in github.com/zitadel/zitadel","description":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection in github.com/zitadel/zitadel.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/zitadel/zitadel from v2.38.3 before v2.70.12, from v2.71.0 before v2.71.11, from v3.0.0-rc1 before v3.2.2.","status":"published","published":"2025-05-29T20:59:03Z","modified":"2025-05-31T04:29:09.501795Z","updated_at":"2026-11-02T15:47:01.728182Z"}]}}
