CVE-2025-64717
ZITADEL vulnerable to Account Takeover with deactivated Instance IdP
Also known as GHSA-j4g7-v4m4-77px, GO-2025-4124
Mitigation
- Upgrade github.com/zitadel/zitadel to one of 4.6.6, 3.4.4, 2.71.19, 1.80.0-v2.20.0.20251112124840-33c51deb2040 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/zitadel/zitadel (>= 4.0.0-rc.1, < 4.6.6)
- Anyone running zitadel >= 4.0.0-rc.1, < 4.6.6; >= 3.0.0-rc.1, < 3.4.4; >= 2.50.0, < 2.71.19
Vulnerability facts
- Affected
- github.com/zitadel/zitadel >= 4.0.0-rc.1, < 4.6.6
- Fixed in
- 4.6.6, 3.4.4, 2.71.19, 1.80.0-v2.20.0.20251112124840-33c51deb2040
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.4 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.98% chance of exploitation in 30 days (percentile 61, 2026-11-26)
- CWE
- CWE-287
- Modified
Description
ZITADEL is an open source identity management platform. Starting in version 2.50.0 and prior to versions 2.71.19, 3.4.4, and 4.6.6, a vulnerability in ZITADEL's federation process allowed auto-linking users from external identity providers to existing users in ZITADEL even if the corresponding IdP was not active or if the organization did not allow federated authentication. This vulnerability stems from the platform's failure to correctly check or enforce an organization's specific security settings during the authentication flow. An Organization Administrator can explicitly disable an IdP or disallow federation, but this setting was not being honored during the auto-linking process. This allowed an unauthenticated attacker to initiate a login using an IdP that should have been disabled for that organization. The platform would incorrectly validate the login and, based on a matching criteria, link the attacker's external identity to an existing internal user account. This may result in a full Account Takeover, bypassing the organization's mandated security controls. Note that accounts with MFA enabled can not be taken over by this attack. Also note that only IdPs create on an instance level would allow this to work. IdPs registered on another organization would always be denied in the (auto-)linking process. Versions 4.6.6, 3.4.4, and 2.71.19 resolve the issue by correctly validating the organization's login policy before auto-linking an external user. No known workarounds are available aside from upgrading.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/zitadel/zitadel | >= 4.0.0-rc.1, < 4.6.6 | 4.6.6, 3.4.4, 2.71.19, 1.80.0-v2.20.0.20251112124840-33c51deb2040 | osv |
| zitadel | >= 4.0.0-rc.1, < 4.6.6; >= 3.0.0-rc.1, < 3.4.4; >= 2.50.0, < 2.71.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-64717. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-64717.md Affected: github.com/zitadel/zitadel >= 4.0.0-rc.1, < 4.6.6 Fixed in: 4.6.6, 3.4.4, 2.71.19, 1.80.0-v2.20.0.20251112124840-33c51deb2040 Steps: 1. Search this machine and project for github.com/zitadel/zitadel (Go), zitadel: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-64717 being exploited?
There is no confirmed exploitation: CVE-2025-64717 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-64717?
High: CVSS 7.4 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-64717?
github.com/zitadel/zitadel >= 4.0.0-rc.1, < 4.6.6.
Is there a fix for CVE-2025-64717?
Yes. Fixed in 4.6.6, 3.4.4, 2.71.19, 1.80.0-v2.20.0.20251112124840-33c51deb2040. Upgrade github.com/zitadel/zitadel to one of 4.6.6, 3.4.4, 2.71.19, 1.80.0-v2.20.0.20251112124840-33c51deb2040 (or later in the same release line).
How do I check if I'm affected by CVE-2025-64717?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.