All vulnerabilities

Servers and applications

GHSA-g8gj-gq47-xgf4

Unauthenticated Account Takeover Through External Identity Provider with Account Manual Linking enabled

Severity
Critical 9.8
Published
4 Sept 2026
Last changed
4 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.17.3
Weakness
Missing authentication (CWE-306)Missing authorization (CWE-862)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

ZITADEL established links between user accounts and external identity providers without verifying that the requester was entitled to create the link. The hosted Login V2 UI accepted explicit IdP linking on an identify-only session — created by merely submitting a login name, with no factor verified — allowing an unauthenticated attacker who knows only a victim’s login name to bind their own external identity to the victim’s account and then sign in through that identity provider as the victim. The same missing verification was reachable directly through the User Service V2 AddIDPLink endpoint (POST /v2/users/{user_id}/links), which skipped the permission check whenever a caller targeted their own account, letting any authenticated user bind an unverified external identity. On both paths, the link was created before any check that a primary factor had been verified or that the caller held the required permission.

From zitadel/zitadel's security advisory. Shortened; the full text is there.

Workarounds

The recommended solution is to upgrade to a patched version. There is no configuration that fully closes this gap on unpatched versions. As a partial mitigation, disabling external IdP account linking in an affected organization’s login policy closes the Login V2 vector; it does not close the API vector, which is independent of login-policy configuration.

Workarounds as given by zitadel/zitadel's security advisory.

Affected software

SoftwareAffected versions
ZITADELServers and applications · github:zitadel/zitadel
  • From 3.0.0 up to 3.4.15
  • From 4.0.0 before 4.17.3

About ZITADEL

ZITADEL - Identity infrastructure, simplified for you.

From its GitHub repository.
GitHub stars
15,585GitHub, 15 Nov 2026
Forks
1,432GitHub, 15 Nov 2026
Latest release
v4.20.3GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
16 Mar 2020GitHub

References