Vulnerability in Red Hat Build Of Keycloak

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.

Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.004 (29.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 29.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-9796: held from 0.002 to 0.004.

EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-9796?
CVE-2026-9796 is a medium-severity vulnerability in Red Hat Build Of Keycloak, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 6.5/10. Published 2026-05-28.
How severe is CVE-2026-9796?
Medium severity. CVSS v3 base score is 6.5 out of 10.