ZITADEL is vulnerable to Account Takeover with deactivated Instance IdP
Published 14 Nov 2025 · Updated 17 Nov 2025
Is your project on an affected github.com/zitadel/zitadel?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=4.0.0-rc.1 <4.6.6
- Fixed in
- 4.6.6
go get github.com/zitadel/zitadel@v4.6.6- Affected
- >=3.0.0-rc.1 <3.4.4
- Fixed in
- 3.4.4
go get github.com/zitadel/zitadel@v3.4.4- Affected
- >=2.50.0 <2.71.19
- Fixed in
- 2.71.19
go get github.com/zitadel/zitadel@v2.71.19- Affected
- >=1.80.0-v2.20.0.20240403060621-5b3946b67ef6 <1.80.0-v2.20.0.20251112124840-33c51deb2040
- Fixed in
- 1.80.0-v2.20.0.20251112124840-33c51deb2040
go get github.com/zitadel/zitadel@v1.80.0-v2.20.0.20251112124840-33c51deb2040Details
Summary
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.
Impact
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.
Affected Versions
Systems running one of the following versions are affected:
- v4.x:
4.0.0-rc.1through4.6.5 - v3.x:
3.0.0-rc.1through3.4.3 - v2.x:
2.50.0through2.71.18
Patches
The 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.
- v4.x: Upgrade to version 4.6.6 or later.
- v3.x: Update to version 3.4.4 or later.
- v2.x: Update to version 2.71.19 or later.
Workarounds
Upgrading to a patched version is the recommended solution.
Questions
If you have any questions or comments about this advisory, please email Zitadel at [security@zitadel.com](mailto:security@zitadel.com)
Credits
Thanks to Jan Kühnlein - kultify for finding and reporting the vulnerability.
Is GHSA-j4g7-v4m4-77px in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/zitadel/zitadel, and gives you the command that fixes it.
More advisories for github.com/zitadel/zitadel
- LowCVE-2026-85056ZITADEL: MFA bypass via session reuse in Login V2 in github.com/zitadel/zitadel · 1 Oct 2026
- LowCVE-2026-85057ZITADEL: Actions V1 sandbox escape: host file read via require() in github.com/zitadel/zitadel · 1 Oct 2026
- HighCVE-2026-85056ZITADEL: MFA bypass via session reuse in Login V2 · 24 Sept 2026
- HighCVE-2026-85057ZITADEL: Actions V1 sandbox escape: host file read via require() · 24 Sept 2026
- LowCVE-2026-56665ZITADEL: Missing Token Expiration (`exp`) Validation in JWT IdP Provider in github.com/zitadel/zitadel · 16 Sept 2026
- LowCVE-2026-56666ZITADEL: Auto-linking by email: IdP-side email verification is not checked in github.com/zitadel/zitadel · 16 Sept 2026
References
- Linkgithub.com/zitadel/zitadel/security/advisories/GHSA-j4g7-v4m4-77px
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-64717
- Linkgithub.com/zitadel/zitadel/commit/33c51deb20402dd5720e32cfb0c1d5fdc752f2e0
- Packagegithub.com/zitadel/zitadel
- Linkgithub.com/zitadel/zitadel/releases/tag/v2.71.19
- Linkgithub.com/zitadel/zitadel/releases/tag/v3.4.4
- Linkgithub.com/zitadel/zitadel/releases/tag/v4.6.6
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.