CVE-2026-9796
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.
Published:May 28, 2026
Last Modified:Aug 18, 2026
EPS:May 28, 2026
EPSS Score:0.00186
CVSS Score:6.5
Affected Products
Vendor
Product
Action
Vendor
Redhat
Product
Build Keycloak
Redhat
Build Keycloak
Vendor
Redhat
Product
Build Of Keycloak
Redhat
Build Of Keycloak
Vendor
Redhat
Product
Keycloak
Redhat
Keycloak
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
