All vulnerabilities

Servers and applications

GHSA-j24h-w6rf-r4c6

Management API allows organization managers to modify user grants in other organizations

Severity
High 7.1
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
4.20.8
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Sources
Project advisories (GitHub)

Description

ZITADEL’s Management API allowed a user with permission to manage user grants (user.grant.write, held for example by ORG_OWNER and ORG_USER_MANAGER) in any organization to change the roles of user grants that belong to a different organization on the same instance. The update endpoint PUT /management/v1/users/{user_id}/grants/{grant_id} (UpdateUserGrant) checked the caller’s permission in their own organization, but then found and changed the grant by its ID alone, whichever organization owned it.

On instances that enabled the opt-in user-grant performance setting (IMPROVED_PERFORMANCE_USER_GRANT), the same missing check was also reachable when creating grants: through POST /management/v1/users/{user_id}/grants (AddUserGrant) and the Authorization Service v2 CreateAuthorization, an organization could assign roles on another organization’s project that had never been delegated to it.

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, leaving IMPROVED_PERFORMANCE_USER_GRANT disabled, or disabling it, closes the grant-creation path only.

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

Affected software

SoftwareAffected versions
ZITADELServers and applications · github:zitadel/zitadel
  • From 4.0.0 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