Description
A flaw was found in Keycloak. An authenticated administrator with the `manage-clients` role can exploit a Time-of-check to time-of-use (TOCTOU) vulnerability in the name-based admin role checks. This allows the attacker to escalate their privileges to `realm-admin` for all users within the realm, granting them extensive control over the system. The composite role relationship persists even after the attacker's own permissions are revoked and across system reboots.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Red Hat Red Hat build of Keycloak 26.6
Default version status: affected
26.6.6-1 to < *unaffected
Red Hat Red Hat build of Keycloak 26.6
Default version status: affected
26.6-12 to < *unaffected
Red Hat Red Hat build of Keycloak 26.6
Default version status: affected
26.6-12 to < *unaffected
Red Hat Red Hat build of Keycloak 26.6.6
Default version status: unaffected
Red Hat Red Hat Build of Keycloak
Default version status: affected