GHSA-qx3g-qf45-rmvq
Summary ZITADEL’s Management API V1 allowed an authenticated user who could create a project in their own organization…
- Scores
- UnknownNo source reports a CVSS or EPSS score yet.
- Exploitation
- UnknownNo source reports exploitation yet.
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
Summary
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.
Impact
An attacker who holds the ORG_PROJECT_CREATOR role (or is an organization owner) in any single organization on the instance can:
- Grant themselves
IAM_OWNERby naming it as their initial project-administrator role at project creation. - Gain instance-administrator access — read and modify instance-level configuration and policies through the Admin API.
- Enumerate and act across every organization on the instance, including a cross-organization data export, regardless of their original single-organization scope.
- Grant themselves
SYSTEM_OWNERand reach System API functionality, up to and including deletion of the instance.
This affects deployments that expose the Management API V1 alongside the Admin API or System API — the default configuration.
The issue requires an authenticated account that is already permitted to create a project in some organization; it is not reachable by an unauthenticated or purely read-only user. It does not, on its own, breach the boundary of the installation the caller already belongs to — but within that installation it collapses the organization → instance → system privilege separation entirely, turning a low-privileged organization-level role into full administrative control. The ordinary project-member endpoint (POST /management/v1/projects/{id}/members) is not affected: it rejects roles that are not project roles. The equivalent project APIs that do not accept initial administrators at creation are likewise unaffected.
Scope note: The escalation is instance-wide and cross-organization within a single instance, and — via SYSTEM_OWNER — reaches installation-level System API functionality. It is confined to the installation the attacker can already authenticate to. No sibling advisory is associated.
Affected Versions
Systems running one of the following versions are affected:
- 4.x:
4.2.0through4.20.7
Patches
The vulnerability has been addressed in the latest releases.
Project creation now accepts only project roles (PROJECT_*) for initial administrators, and roles that are not project roles are ignored on project and project-grant memberships when permissions are resolved — including memberships created before the upgrade.
- 4.x: Upgrade to $\ge$ 4.20.8
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.
Questions
If you have any questions or comments about this advisory, please email us at security@zitadel.com
Credits
Thanks to Lucas Dodgson from InfoGuard Labs (@lucasdodgson) for finding and reporting the vulnerability.
Affected
Packages 18
| Package | Affected | Fixed |
|---|---|---|
zitadel-4-devDocker Hardened Images:Alpine:3.23 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-devDocker Hardened Images:Alpine:3.24 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-fips-devDocker Hardened Images:Alpine:3.23 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-fips-devDocker Hardened Images:Alpine:3.24 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-fips-licenseDocker Hardened Images:Alpine:3.23 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-fips-licenseDocker Hardened Images:Alpine:3.24 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-fipsDocker Hardened Images:Alpine:3.23 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-fipsDocker Hardened Images:Alpine:3.24 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-licenseDocker Hardened Images:Alpine:3.23 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-licenseDocker Hardened Images:Alpine:3.24 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
Show 8 more packagesShow less
| Package | Affected | Fixed |
|---|---|---|
zitadel-4Docker Hardened Images:Alpine:3.23 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4Docker Hardened Images:Alpine:3.24 | 4.20.3-r0 and later, plus listed versions 4.20.4-r04.20.5-r04.20.6-r04.20.7-r04.20.8-r04.21.0-r0 | None listed |
zitadel-4-devDocker Hardened Images:Debian:13 | 4.20.3-0 and later, plus listed versions 4.20.4-04.20.5-04.20.6-04.20.7-04.20.8-04.21.0-0 | None listed |
zitadel-4-fips-devDocker Hardened Images:Debian:13 | 4.20.3-0 and later, plus listed versions 4.20.4-04.20.5-04.20.6-04.20.7-04.20.8-04.21.0-0 | None listed |
zitadel-4-fips-licenseDocker Hardened Images:Debian:13 | 4.20.3-0 and later, plus listed versions 4.20.4-04.20.5-04.20.6-04.20.7-04.20.8-04.21.0-0 | None listed |
zitadel-4-fipsDocker Hardened Images:Debian:13 | 4.20.3-0 and later, plus listed versions 4.20.4-04.20.5-04.20.6-04.20.7-04.20.8-04.21.0-0 | None listed |
zitadel-4-licenseDocker Hardened Images:Debian:13 | 4.20.3-0 and later, plus listed versions 4.20.4-04.20.5-04.20.6-04.20.7-04.20.8-04.21.0-0 | None listed |
zitadel-4Docker Hardened Images:Debian:13 | 4.20.3-0 and later, plus listed versions 4.20.4-04.20.5-04.20.6-04.20.7-04.20.8-04.21.0-0 | None listed |
Sources
OSVDHI-7ztv-exc7-n46z-hwolNo score
### Summary
Summary
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.
Impact
An attacker who holds the ORG_PROJECT_CREATOR role (or is an organization owner) in any single organization on the instance can:
- Grant themselves
IAM_OWNERby naming it as their initial project-administrator role at project creation. - Gain instance-administrator access — read and modify instance-level configuration and policies through the Admin API.
- Enumerate and act across every organization on the instance, including a cross-organization data export, regardless of their original single-organization scope.
- Grant themselves
SYSTEM_OWNERand reach System API functionality, up to and including deletion of the instance.
This affects deployments that expose the Management API V1 alongside the Admin API or System API — the default configuration.
The issue requires an authenticated account that is already permitted to create a project in some organization; it is not reachable by an unauthenticated or purely read-only user. It does not, on its own, breach the boundary of the installation the caller already belongs to — but within that installation it collapses the organization → instance → system privilege separation entirely, turning a low-privileged organization-level role into full administrative control. The ordinary project-member endpoint (POST /management/v1/projects/{id}/members) is not affected: it rejects roles that are not project roles. The equivalent project APIs that do not accept initial administrators at creation are likewise unaffected.
Scope note: The escalation is instance-wide and cross-organization within a single instance, and — via SYSTEM_OWNER — reaches installation-level System API functionality. It is confined to the installation the attacker can already authenticate to. No sibling advisory is associated.
Affected Versions
Systems running one of the following versions are affected:
- 4.x:
4.2.0through4.20.7
Patches
The vulnerability has been addressed in the latest releases.
Project creation now accepts only project roles (PROJECT_*) for initial administrators, and roles that are not project roles are ignored on project and project-grant memberships when permissions are resolved — including memberships created before the upgrade.
- 4.x: Upgrade to $\ge$ 4.20.8
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.
Questions
If you have any questions or comments about this advisory, please email us at security@zitadel.com
Credits
Thanks to Lucas Dodgson from InfoGuard Labs (@lucasdodgson) for finding and reporting the vulnerability.
- Record
DHI-7ztv-exc7-n46z-hwol- Updated
- 2026-12-02
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| First indexed | OSV |
Upstream dates may differ.