GHSA-V859-C572-QH5P
Vulnerability from github – Published: 2026-09-14 21:31 – Updated: 2026-09-14 21:31Summary
A bug in how ZITADEL updates permissions when multiple project roles are deleted at the same time can cause some user permissions to be missed. This issue specifically affects User Grants on Granted Projects (projects shared between different organizations), potentially allowing users to keep access rights that were supposed to be completely removed.
Impact
When an organization shares a project with another organization (a Project Grant), administrators can assign specific roles to users via a User Grant. If multiple roles are deleted from that project at the same time, a background process runs to strip those roles from the assigned users.
Because of an error in how ZITADEL loops through a user's list of roles during this specific cross-organization cleanup, deleting two or more roles at once might cause the system to accidentally skip over some of them.
Scope Note: This vulnerability only affects User Grants on Granted Projects. Direct project roles and global organization roles are not impacted.
The risk depends entirely on what the skipped role allowed the user to do—if it was an administrative or high-privilege role, the user could potentially retain those elevated permissions within that granted project even after the role was officially deleted.
Affected Versions
- 4.x:
4.0.0through4.15.3(including RC versions) - 3.x:
3.0.0through3.4.12(including RC versions)
Note: The 3.x release channel has reached End-of-Life (EOL) for security updates and will not receive a backported patch.
Patches & Resolution
This issue has been fully resolved in the latest releases.
The update fixes the role-removal logic to ensure no roles are skipped. Furthermore, this patch includes an automatic database migration. When you update, the system will automatically scan your database, find any user permissions on granted projects that may have been accidentally left behind by this bug, and correct them.
Workarounds
There are no configuration workarounds. Upgrading to a patched version is the recommended solution and only way to trigger the automatic cleanup migration. If you cannot upgrade immediately, we recommend manually reviewing user permissions specifically for your Granted Projects where multiple roles were recently deleted.
Questions
If you have any questions or comments about this advisory, please reach out to us at security@zitadel.com.
Credits
Thanks to AyushParkara for reporting this vulnerability.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/zitadel/zitadel"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.16.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-76081"
],
"database_specific": {
"cwe_ids": [
"CWE-193"
],
"github_reviewed": true,
"github_reviewed_at": "2026-09-14T21:31:37Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "### Summary\n\nA bug in how ZITADEL updates permissions when multiple project roles are deleted at the same time can cause some user permissions to be missed. This issue specifically affects **User Grants on Granted Projects** (projects shared between different organizations), **potentially** allowing users to keep access rights that were supposed to be completely removed.\n\n### Impact\n\nWhen an organization shares a project with another organization (a Project Grant), administrators can assign specific roles to users via a User Grant. If multiple roles are deleted from that project at the same time, a background process runs to strip those roles from the assigned users.\n\nBecause of an error in how ZITADEL loops through a user\u0027s list of roles during this specific cross-organization cleanup, deleting two or more roles at once **might** cause the system to accidentally skip over some of them.\n\n\u003e **Scope Note:** This vulnerability only affects **User Grants on Granted Projects**. Direct project roles and global organization roles are not impacted.\n\nThe risk depends entirely on what the skipped role allowed the user to do\u2014if it was an administrative or high-privilege role, the user **could potentially** retain those elevated permissions within that granted project even after the role was officially deleted.\n\n### Affected Versions\n\n* **4.x:** `4.0.0` through `4.15.3` (including RC versions)\n* **3.x:** `3.0.0` through `3.4.12` (including RC versions)\n\nNote: The 3.x release channel has reached End-of-Life (EOL) for security updates and will not receive a backported patch.\n\n### Patches \u0026 Resolution\n\nThis issue has been fully resolved in the latest releases.\n\nThe update fixes the role-removal logic to ensure no roles are skipped. Furthermore, **this patch includes an automatic database migration**. When you update, the system will automatically scan your database, find any user permissions on granted projects that **may** have been accidentally left behind by this bug, and correct them.\n\n- **4.x**: Upgrade to $\\ge$[4.16.0](https://github.com/zitadel/zitadel/releases/tag/v4.16.0)\n- **3.x**: Update to $\\ge$[4.16.0](https://github.com/zitadel/zitadel/releases/tag/v4.16.0) (or check out workarounds)\n\n### Workarounds\n\nThere are no configuration workarounds. Upgrading to a patched version is the recommended solution and only way to trigger the automatic cleanup migration. If you cannot upgrade immediately, we recommend manually reviewing user permissions specifically for your **Granted Projects** where multiple roles were recently deleted.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please reach out to us at security@zitadel.com.\n\n### Credits\n\nThanks to [AyushParkara](https://github.com/AyushParkara) for reporting this vulnerability.",
"id": "GHSA-v859-c572-qh5p",
"modified": "2026-09-14T21:31:37Z",
"published": "2026-09-14T21:31:37Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-v859-c572-qh5p"
},
{
"type": "WEB",
"url": "https://github.com/zitadel/zitadel/commit/9d60e83d6faa5e7e7a5339e031cdb26e0efe4d59"
},
{
"type": "PACKAGE",
"url": "https://github.com/zitadel/zitadel"
},
{
"type": "WEB",
"url": "https://github.com/zitadel/zitadel/releases/tag/v4.16.0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "ZITADEL: Improper Role Revocation on Granted Projects during Multiple Role Deletions"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.