All posts

Critical vulnerabilities

2 critical vulnerabilities in ZITADEL

2 vulnerabilities rated critical (CVSS 9.0 or higher) found on 1 December 2026: Privilege escalation in servers and applications.

  • 2 critical

Privilege escalation in ZITADEL · Servers and applications

GHSA-qx3g-qf45-rmvq

Privilege escalation to instance and system administrator via project creation

Severity
Critical 9.9
Published
1 Dec 2026
Fixed in
4.20.8
Weakness
Improper privilege management (CWE-269)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down

ZITADEL’s Management API V1 allowed an authenticated user who could create a project in their own organization to assign themselves an instance-level role — IAM_OWNER or SYSTEM_OWNER — as the project’s initial administrator. The project-creation endpoint (POST /management/v1/projects) accepted arbitrary values in the admins[].roles field without validating that they are project-scoped roles.

Because the resulting membership resolves to iam. or system. permissions, affected Admin API and System API endpoints honored it as though the caller held those roles instance-wide. The flaw is that the project-creation path applied the requested member roles directly, skipping the role validation that the ordinary project-member endpoint enforces.

An attacker who holds the ORG_PROJECT_CREATOR role (or is an organization owner) in any single organization on the instance can:

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, limit the ORG_PROJECT_CREATOR and organization-owner roles to trusted users.

Workarounds as given by zitadel/zitadel's security advisory.
SoftwareAffected versions
ZITADELServers and applications
  • From 4.2.0 before 4.20.8
Everything about GHSA-qx3g-qf45-rmvq

Privilege escalation in ZITADEL · 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
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

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.
SoftwareAffected versions
ZITADELServers and applications
  • From 4.15.2 before 4.20.8
Everything about GHSA-68mv-8rxc-2rrr

From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.