GHSA-v859-c572-qh5p: Medium severity go/github.com/zitadel/zitadel vulnerability

Published Sep 14, 2026
·
Updated

Summary

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.0 through 4.15.3 (including RC versions) 3.x: 3.0.0 through 3.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.

- 4.x: Upgrade to $\ge$4.16.0 - 3.x: Update to $\ge$4.16.0 (or check out workarounds)

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 Software

1 affected componentFixes available
go/github.com/zitadel/zitadel<4.16.0
4.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/zitadel/zitadel to a version that resolves this vulnerability.

    Fixed in 4.16.0
  2. Upgrade

    Upgrade zitadel/zitadel to a version that resolves this vulnerability.

    Fixed in 4.16.0
  3. Operational

    If you cannot upgrade immediately, manually review user permissions specifically for your Granted Projects where multiple roles were recently deleted, because the bug could cause some roles to be skipped and permissions to remain.

Event History

Sep 14, 2026
Advisory Published
via GitHub·09:31 PM
Data Sourced
via GitHub·09:31 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which role assignments are affected by this issue?

Only User Grants on Granted Projects are affected. Direct project roles and global organization roles are not impacted.

2

What conditions are required for permissions to remain after removal?

An organization must be using a Project Grant to share a project with another organization, and multiple roles must be deleted from that granted project at the same time. The cleanup process might then skip removing some roles from users assigned through User Grants.

3

How serious is a missed role removal?

The impact depends on the permissions associated with the skipped role. A skipped administrative or otherwise high-privilege role could allow the user to retain significant access that administrators intended to revoke.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203