CVE-2025-64101: Github.com/zitadel/zitadel/v2 ZITADEL Vulnerable To Account Takeover Vulnerability
HIGHCVE-2025-64101 is a HIGH (CVSS 8.1) zitadel vulnerable to account takeover vulnerability (CWE-640: Weak Password Recovery Mechanism for Forgotten Password) affecting Github.com/zitadel/zitadel/v2 libraries in the Go ecosystem. The issue involves zitadel vulnerable to account takeover via malicious forwarded header injection. Remediation is available by upgrading affected packages to version 2.71.18, 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3.
CVE-2025-64101 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-64101
To remediate this vulnerability, upgrade all affected Github.com/zitadel/zitadel/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/zitadel/zitadel/v2 to 2.71.18
Upgrade github.com/zitadel/zitadel/v2 to 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/zitadel/zitadel/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64101, inspect your project dependencies for Github.com/zitadel/zitadel/v2:
inspect dependencies for github.com/zitadel/zitadel/v2
Analyze the terminal output to locate any version of Github.com/zitadel/zitadel/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.71.18), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-640: Weak Password Recovery Mechanism for Forgotten Password, where the product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak. In Github.com/zitadel/zitadel/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64101 Affected Github.com/zitadel/zitadel/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/zitadel/zitadel/v2
|
Go |
≥ 2.0.0
< 2.71.18
|
2.71.18
|
|
github.com/zitadel/zitadel/v2
|
Go |
< 1.80.0-v2.20.0.20251029090537-72a5c33e6ac3
|
1.80.0-v2.20.0.20251029090537-72a5c33e6ac3
|
References
Frequently Asked Questions
What is CVE-2025-64101?
Which Github.com/zitadel/zitadel/v2 versions are affected?
What version fixes CVE-2025-64101?
Is github.com/zitadel/zitadel/v2 affected?
What is the CVSS score of CVE-2025-64101?
What CWE is associated with CVE-2025-64101?
How can I check Go dependencies for CVE-2025-64101?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mwmh-7px9-4c23",
"modified" : "2025-11-05T22:13:14Z",
"published" : "2025-10-29T22:20:50Z",
"aliases" : [ "CVE-2025-64101" ],
"summary" : "ZITADEL Vulnerable to Account Takeover via Malicious Forwarded Header Injection",
"details" : "### 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### Affected Versions\n\nSystems running one of the following versions:\n- **4.x**: `4.0.0` to `4.5.0` (including RC versions)\n- **3.x**: `3.0.0` to `3.4.2` (including RC versions)\n- **2.x**: `v2.0.0` to `2.71.17`\n\n### Patches\n\nPatched version ensure proper validation of the headers:\n\n4.x: Upgrade to >=[4.6.0](https://github.com/zitadel/zitadel/releases/tag/v4.6.0)\n3.x: Update to >=[3.4.3](https://github.com/zitadel/zitadel/releases/tag/v3.4.3)\n2.x: Update to >=[2.71.18](https://github.com/zitadel/zitadel/releases/tag/v2.71.18)\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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.71.18"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.80.0-v2.20.0.20251029090537-72a5c33e6ac3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-mwmh-7px9-4c23"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64101"
}, {
"type" : "WEB",
"url" : "https://github.com/zitadel/zitadel/commit/72a5c33e6ac302b978d564bd049f9364f5a989b1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zitadel/zitadel"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-4084"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601", "CWE-640" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-29T22:20:50Z",
"nvd_published_at" : "2025-10-29T19:15:38Z"
}
}