{"id":"CVE-2025-64717","revision":null,"records":[{"revision":"b435e02c256246408b61bad097e34f2b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-64717","aliases":[],"title":"ZITADEL vulnerable to Account Takeover with deactivated Instance IdP","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.","state":0,"publishedAt":"2025-11-13T15:30:51.233+00:00","modifiedAt":"2025-11-13T17:09:03.838+00:00","affected":[{"ecosystem":"Vendor product","name":"zitadel","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"zitadel\",\n                    \"product\": \"zitadel\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 4.0.0-rc.1, < 4.6.6\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 3.0.0-rc.1, < 3.4.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 2.50.0, < 2.71.19\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/zitadel/zitadel/security/advisories/GHSA-j4g7-v4m4-77px","https://github.com/zitadel/zitadel/releases/tag/v2.71.19","https://github.com/zitadel/zitadel/releases/tag/v3.4.4","https://github.com/zitadel/zitadel/releases/tag/v4.6.6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-64717","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-64717","identifiers":["CVE-2025-64717"]},"retained":false,"historicalAffected":[]},{"revision":"0763a5eeeeba4b4c8cee0184968f1333","observedAt":"2026-11-07T03:29:39.061+00:00","statement":{"source":"euvd","id":"EUVD-2025-175316","aliases":["CVE-2025-64717","GHSA-j4g7-v4m4-77px"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.4,"severity":null}],"references":["https://github.com/zitadel/zitadel/security/advisories/GHSA-j4g7-v4m4-77px","https://github.com/zitadel/zitadel/releases/tag/v2.71.19","https://github.com/zitadel/zitadel/releases/tag/v3.4.4","https://github.com/zitadel/zitadel/releases/tag/v4.6.6"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-175316","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 13, 2025, 3:30:51 PM","dateUpdated":"Nov 13, 2025, 5:09:03 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-175316","identifiers":["EUVD-2025-175316","CVE-2025-64717","GHSA-j4g7-v4m4-77px"]},"retained":false,"historicalAffected":[]},{"revision":"af731fb4987043cfb7b49071e6739f66","observedAt":"2026-10-25T03:17:29.935+00:00","statement":{"source":"nvd","id":"CVE-2025-64717","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2025-11-13T16:15:56.973+00:00","modifiedAt":"2026-10-19T13:10:00.11+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":7.4,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/zitadel/zitadel/releases/tag/v2.71.19","https://github.com/zitadel/zitadel/releases/tag/v3.4.4","https://github.com/zitadel/zitadel/releases/tag/v4.6.6","https://github.com/zitadel/zitadel/security/advisories/GHSA-j4g7-v4m4-77px"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-64717","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-287"],"productCriteria":["cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2025-11-13T16:15:56.973","lastModified":"2026-10-19T13:10:00.110"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-64717","identifiers":["CVE-2025-64717"]},"retained":false,"historicalAffected":[]},{"revision":"0f92e92136c74dd88bb4a161fe31256d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-j4g7-v4m4-77px","aliases":["CVE-2025-64717","GO-2025-4124"],"title":"ZITADEL is vulnerable to Account Takeover with deactivated Instance IdP","description":"### Summary\n\nA 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.\n\n### Impact\n\nThis 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.\n\nThis 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.\n\nThis 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.\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n- **v4.x**: `4.0.0-rc.1` through `4.6.5`\n- **v3.x**: `3.0.0-rc.1` through `3.4.3`\n- **v2.x**: `2.50.0` through `2.71.18`\n\n### Patches\n\nThe vulnerability has been addressed in the latest release. The patch resolves the issue by correctly validating the organization's login policy before auto-linking an external user.\n\n- v4.x: Upgrade to version [4.6.6](https://github.com/zitadel/zitadel/releases/tag/v4.6.6) or later.\n- v3.x: Update to version [3.4.4](https://github.com/zitadel/zitadel/releases/tag/v3.4.4) or later.\n- v2.x: Update to version [2.71.19](https://github.com/zitadel/zitadel/releases/tag/v2.71.19) or later.\n\n### Workarounds\n\nUpgrading to a patched version is the recommended solution.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email Zitadel at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to Jan Kühnlein - kultify for finding and reporting the vulnerability.","state":0,"publishedAt":"2025-11-14T21:11:38+00:00","modifiedAt":"2025-11-17T19:58:43.820518+00:00","affected":[{"ecosystem":"Go","name":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0-rc.1"},{"kind":"fixed","version":"4.6.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0-rc.1"},{"kind":"fixed","version":"3.4.4"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.50.0"},{"kind":"fixed","version":"2.71.19"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.80.0-v2.20.0.20240403060621-5b3946b67ef6"},{"kind":"fixed","version":"1.80.0-v2.20.0.20251112124840-33c51deb2040"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/zitadel/zitadel/security/advisories/GHSA-j4g7-v4m4-77px","https://nvd.nist.gov/vuln/detail/CVE-2025-64717","https://github.com/zitadel/zitadel/commit/33c51deb20402dd5720e32cfb0c1d5fdc752f2e0","https://github.com/zitadel/zitadel","https://github.com/zitadel/zitadel/releases/tag/v2.71.19","https://github.com/zitadel/zitadel/releases/tag/v3.4.4","https://github.com/zitadel/zitadel/releases/tag/v4.6.6"],"sourceUrl":"https://github.com/advisories/GHSA-j4g7-v4m4-77px","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j4g7-v4m4-77px","identifiers":["GHSA-j4g7-v4m4-77px","CVE-2025-64717","GO-2025-4124"]},"retained":false,"historicalAffected":[]},{"revision":"1ca6c4d9d78c403e931130f10192ef06","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-4124","aliases":["CVE-2025-64717","GHSA-j4g7-v4m4-77px"],"title":"ZITADEL is vulnerable to Account Takeover with deactivated Instance IdP in github.com/zitadel/zitadel","description":"ZITADEL is vulnerable to Account Takeover with deactivated Instance IdP 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.50.0 before v2.71.19, from v3.0.0-rc.1 before v3.4.4, from v4.0.0-rc.1 before v4.6.6.","state":0,"publishedAt":"2025-11-17T19:11:25+00:00","modifiedAt":"2025-11-17T19:58:43.820518+00:00","affected":[{"ecosystem":"Go","name":"github.com/zitadel/zitadel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.80.0-v2.20.0.20240403060621-5b3946b67ef6"},{"kind":"fixed","version":"1.80.0-v2.20.0.20251112124840-33c51deb2040"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/zitadel/zitadel/security/advisories/GHSA-j4g7-v4m4-77px","https://nvd.nist.gov/vuln/detail/CVE-2025-64717","https://github.com/zitadel/zitadel/commit/33c51deb20402dd5720e32cfb0c1d5fdc752f2e0","https://github.com/zitadel/zitadel/releases/tag/v2.71.19","https://github.com/zitadel/zitadel/releases/tag/v3.4.4","https://github.com/zitadel/zitadel/releases/tag/v4.6.6"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-4124","license":"OSV · upstream source license applies","key":"osv:GO-2025-4124","identifiers":["GO-2025-4124","CVE-2025-64717","GHSA-j4g7-v4m4-77px"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-08T23:02:15.9754883+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-08T23:02:15.9754883+00:00","lastSuccessAt":"2026-11-08T23:02:16.1185375+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:16.1185396+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-eaa64dac63caa79c8d4905619258c41c51b39e461b996124e1a21b5e85e7e738-0ee53194438b774350db8ba2be9961094a7945659f4bca5c09ae0ef23c2c3f0c","complete":true,"records":421267,"lastAttemptAt":"2026-11-08T23:02:15.4905694+00:00","lastSuccessAt":"2026-11-08T23:02:15.4057062+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:15.4905694+00:00","snapshotPublishedAt":"2026-11-08T22:18:37+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-64ec014845cf41e0b44c7812575dade1","complete":false,"records":13654,"lastAttemptAt":"2026-11-08T23:11:05.5177476+00:00","lastSuccessAt":"2026-11-08T23:11:05.509+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:11:05.509+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13457,"expectedIdentifiers":13706,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-08T23:02:15.9754883+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-08T23:02:15.9754883+00:00","lastSuccessAt":"2026-11-08T23:02:16.1192591+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:16.1192597+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-bbd1082fa13b4aff99c01e332b64e44f","complete":true,"records":13666,"lastAttemptAt":"2026-11-08T23:02:17.0620293+00:00","lastSuccessAt":"2026-11-08T23:02:17.059+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:17.059+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13706,"expectedIdentifiers":13706,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-08T23:02:15.8370588+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:15.8370588+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-08T23:02:15.64043+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:15.64043+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-964c14035e6f0f6478b2870fad6a7ef9f6045876d4a12af2c2e514521e54b6af","complete":true,"records":3055,"lastAttemptAt":"2026-11-08T23:02:15.942926+00:00","lastSuccessAt":"2026-11-08T11:07:12.1927025+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:15.942926+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f8647d7ba64b1ba0dfdc7130944766d5b36d5b77d18fff0c79e651a4cff3c2b9","complete":true,"records":231293,"lastAttemptAt":"2026-11-08T23:02:15.7372001+00:00","lastSuccessAt":"2026-11-08T11:06:56.2918717+00:00","error":null,"lastVerifiedAt":"2026-11-08T23:02:15.7372001+00:00","snapshotPublishedAt":"2026-11-08T11:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}