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

Configuration 1 (hide)

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

History

No history.

Information

Published : 2026-05-28 05:16

Updated : 2026-09-15 12:17


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