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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*

History

03 Jun 2026, 19:38

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
First Time Redhat
Redhat build Of Keycloak
References () https://access.redhat.com/security/cve/CVE-2026-9796 - () https://access.redhat.com/security/cve/CVE-2026-9796 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2482464 - () https://bugzilla.redhat.com/show_bug.cgi?id=2482464 - Issue Tracking, Vendor Advisory

28 May 2026, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-28 05:16

Updated : 2026-06-03 19:38


NVD link : CVE-2026-9796

Mitre link : CVE-2026-9796

CVE.ORG link : CVE-2026-9796


JSON object : View

Products Affected

redhat

  • build_of_keycloak
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition