CVE-2026-9796

MEDIUM CVSS 3.1: 6.5 EPSS 0.22%
Updated Oct 26, 2026
Red Hat
Parameter Value
CVSS 6.5 (MEDIUM)
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Redhat Build_Of_Keycloak
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
— —