ZITADEL’s hosted Login V2 UI approved an OAuth 2.0 Device Authorization request as soon as a browser opened its signed-in page for that request, using whichever session the browser already had. The user was neither asked for consent nor required to enter the user code shown on the device. An attacker who starts a device authorization for an application and gets a signed-in user to open a single link receives tokens for that user’s account on the attacker’s device.
Approving a device authorization was not properly authorized. ZITADEL confirmed neither that the user intended to approve this device nor that the user may access the application. The same missing authorization was reachable through the OIDC service API that login UIs use to approve device authorizations (POST /v2/oidc/device_authorization/{device_authorization_id}). That endpoint skipped the project access settings that the regular sign-in enforces.
An attacker who can start a device authorization for an application with the Device Code grant type can:
The attacker cannot read the user’s password or second factors, and cannot approve a device without the user opening the link in a browser with an active Login V2 session.
Instances without any application that has the Device Code grant type are not affected, as no device authorization can be started. Users who sign in only through the hosted Login V1 UI are not affected by the one-click vector, as they have no Login V2 session that the link could reuse.
Scope note: The first vector affects deployments that run the hosted Login V2 UI. The API vector also affects custom login UIs built on the OIDC service API. Both vectors stay within a single instance.
Systems running one of the following versions are affected:
4.0.0 through 4.19.4 (including RC versions)3.0.0 through 3.4.15 (including RC versions)The vulnerability has been addressed in the latest releases. A device authorization can now only be approved after the user has entered the user code in the same browser and confirmed it with an explicit Allow on a consent screen. The consent screen shows the account, the application and the user code. Opening the signed-in page no longer approves anything. Approving a device authorization through the API now enforces the same project access settings as the regular sign-in.
The 3.x release line reached end-of-life on 2026-08-31 and will not receive a fix for this vulnerability. Affected 3.x deployments must upgrade to a patched 4.x release.
The recommended solution is to upgrade to a patched version. There is no configuration that fully closes this gap on unpatched versions. If you do not use the Device Authorization flow, removing the Device Code grant type from all applications prevents both vectors.
If you have any questions or comments about this advisory, please email us at security@zitadel.com
Thanks to Lucas Dodgson from InfoGuard Labs (@lucasdodgson) for finding and reporting the vulnerability.