Keycloak Fine-Grained Admin Permission Bypass via Group Move (CVE-2026-96457)

A restricted Keycloak group administrator can bypass Fine-Grained Admin Permissions by moving a forbidden sub-group to the top level, gaining unauthorized control over group members and potentially taking over the security realm.

Details

CVE-2026-96457 affects the Keycloak administrative interface. When Fine-Grained Admin Permissions are used to restrict a group administrator from managing specific sub-groups, an incomplete fix for a previous vulnerability allows the restricted administrator to bypass the restriction by moving a forbidden sub-group to the top level of the hierarchy. This grants unauthorized control over the group's members and could lead to full takeover of the security realm.

Affected Product

- Keycloak (identity and access management solution)

Sources

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-96457 - Red Hat CVE: https://access.redhat.com/security/cve/CVE-2026-96457 - Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2539300

What to do

1. Review the Red Hat CVE page and NVD entry for CVE-2026-96457 to confirm affected Keycloak versions and any listed fixed releases. 2. If you use Keycloak Fine-Grained Admin Permissions, audit group administrator roles and permissions, especially for restricted sub-groups. 3. Apply the vendor-provided patch or upgrade to the fixed Keycloak version once confirmed. No fixed version numbers are listed in the provided evidence, so verify the vendor advisory before changing production. 4. As an interim mitigation, restrict or remove the ability for group administrators to move groups or alter the top-level hierarchy until the patch is applied. 5. Monitor Keycloak logs for unauthorized group moves, permission changes, or privilege escalation activity by restricted administrators. 6. Confirm the exact remediation steps with the vendor advisory before deploying changes to production.

Sources