All vulnerabilities

Servers and applications

GHSA-68mv-8rxc-2rrr

Privilege escalation by creating a user with the ID of a user in another organization

Severity
Critical 9.6
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
4.20.8
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

ZITADEL lets an administrator create a service user with a self-chosen user ID, through the Management API (POST /management/v1/users/machine, field userId) or the User API v2 (POST /v2/users/new, field userId). When such an ID was supplied, ZITADEL only checked that no user with that ID existed in the caller’s own organization. An administrator of one organization could therefore “create” a service user with the ID of an existing user from any other organization on the same instance, including an instance administrator. The new record was attached to the existing user’s identity and assigned to the attacker’s organization, and a personal access token issued for it from that organization authenticated as the existing user, with all of that user’s roles.

The flaw is a missing instance-wide uniqueness check on caller-supplied user IDs when a service user is created. Once the duplicate existed, the attacker’s organization could issue personal access tokens, keys and client secrets for…

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.

Partial mitigation: disabling public organization registration (DisallowPublicOrgRegistration) removes the anonymous route to an organization-owner account. It does not protect against administrators who already hold user-management rights in any organization.

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

Affected software

SoftwareAffected versions
ZITADELServers and applications · github:zitadel/zitadel
  • From 4.15.2 before 4.20.8

About ZITADEL

ZITADEL - Identity infrastructure, simplified for you.

From its GitHub repository.
GitHub stars
15,672GitHub, 29 Nov 2026
Forks
1,447GitHub, 29 Nov 2026
Latest release
v4.20.6GitHub, 29 Nov 2026
Released
25 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
16 Mar 2020GitHub

References