{"answers":{"affected":"11 open source packages ship an affected version, including github.com/zitadel/zitadel/v2 and github.com/zitadel/zitadel. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-48936 in the wild and no public exploit code.","fix":"Upgrade github.com/zitadel/zitadel/v2 to a fixed version for your release line: 2.70.12, 2.71.11 or 3.2.2.","what":"CVE-2025-48936 is a high-severity vulnerability in zitadel, published on 30 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-48936 and fix it if it is affected.\n\nWhat it is: CVE-2025-48936 is a high-severity vulnerability in zitadel, published on 30 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-48936 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/zitadel/zitadel/v2 (Go): affected all versions; no fix listed\n- github.com/zitadel/zitadel/v2 (Go): affected all versions; no fix listed\n- github.com/zitadel/zitadel/v2 (Go): affected from 2.38.3; fixed in 2.70.12\n- github.com/zitadel/zitadel/v2 (Go): affected from 2.38.3; fixed in 2.70.12\n- github.com/zitadel/zitadel/v2 (Go): affected from 2.71.0; fixed in 2.71.11\n- github.com/zitadel/zitadel/v2 (Go): affected from 2.71.0; fixed in 2.71.11\n- github.com/zitadel/zitadel/v2 (Go): affected from 3.0.0-rc1; fixed in 3.2.2\n- github.com/zitadel/zitadel/v2 (Go): affected from 3.0.0-rc1; fixed in 3.2.2\n- github.com/zitadel/zitadel (Go): affected all versions; fixed in 0.0.0-20250528081227-c097887bc5f6\n- github.com/zitadel/zitadel (Go): affected all versions; fixed in 0.0.0-20250528081227-c097887bc5f6\n- github.com/zitadel/zitadel (Go): affected all versions; fixed in 0.0.0-20250528081227-c097887bc5f6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-48936/ (Markdown: https://insights.sbomify.com/CVE-2025-48936/index.md)","id":"CVE-2025-48936","markdown":"https://insights.sbomify.com/CVE-2025-48936/index.md","name":"CVE-2025-48936","record":{"aliases":["GHSA-93m4-mfpg-c3xf","GO-2025-3721"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Identity infrastructure software","requires_auth":"none","summary":"Attackers can manipulate headers to redirect password reset links, capturing secret codes to take over user accounts without MFA.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zitadel","vendor":"zitadel"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection","id":"CVE-2025-48936","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2025"},"n_packages":11,"n_references":2,"next":{"headline":"matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator","id":"CVE-2025-48937"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20250528081227-c097887bc5f6"],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["0.0.0-20250528081227-c097887bc5f6"],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["0.0.0-20250528081227-c097887bc5f6"],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GO-2025-3721"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":null,"source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":"pkg:golang/github.com/zitadel/zitadel/v2","source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["2.70.12"],"introduced":["2.38.3"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":null,"source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["2.70.12"],"introduced":["2.38.3"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":"pkg:golang/github.com/zitadel/zitadel/v2","source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["2.71.11"],"introduced":["2.71.0"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":null,"source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["2.71.11"],"introduced":["2.71.0"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":"pkg:golang/github.com/zitadel/zitadel/v2","source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["3.2.2"],"introduced":["3.0.0-rc1"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":null,"source":"GHSA-93m4-mfpg-c3xf"},{"ecosystem":"Go","fixed":["3.2.2"],"introduced":["3.0.0-rc1"],"last_affected":[],"package":"github.com/zitadel/zitadel/v2","purl":"pkg:golang/github.com/zitadel/zitadel/v2","source":"GHSA-93m4-mfpg-c3xf"}],"prev":{"headline":"Deno has --allow-read / --allow-write permission bypass in `node:sqlite`","id":"CVE-2025-48935"},"products":["zitadel"],"published":"2025-05-30","related":[{"cvss_score":9.3,"headline":"ZITADEL: 1-Click Account Takeover via XSS in /saml-post Endpoint","id":"CVE-2026-29191","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":9.3,"headline":"ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login","id":"CVE-2025-67494","kev_date_added":null,"published":"2025-12-09"},{"cvss_score":9,"headline":"IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations","id":"CVE-2025-27507","kev_date_added":null,"published":"2025-03-04"},{"cvss_score":8.7,"headline":"Zitadel Bypass Second Authentication Factor","id":"CVE-2025-64103","kev_date_added":null,"published":"2025-10-29"},{"cvss_score":8.7,"headline":"Zitadel Expired JWT Keys Usable for Authorization Grants","id":"CVE-2025-31123","kev_date_added":null,"published":"2025-03-31"},{"cvss_score":8.7,"headline":"ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass","id":"CVE-2024-29891","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":8.7,"headline":"XSS with User Avatar image in ZITADEL","id":"CVE-2023-46238","kev_date_added":null,"published":"2023-10-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["zitadel"]},"summary":"Attackers can manipulate headers to redirect password reset links, capturing secret codes to take over user accounts without MFA.","url":"https://insights.sbomify.com/CVE-2025-48936/"}