CVE-2026-9796Keycloak: keycloak: privilege escalation via time-of-check to time-of-use (toctou) vulnerability
Updated under an hour ago ()
Does this affect you?
It affects Red Hat build of Keycloak 26.6 and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-367
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Sep 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat build of Keycloak 26.6 redhat:build_keycloak | from 26.6.6-1 not affected | CNA record |
redhat build_of_keycloak redhat:build_of_keycloak | all versions | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:56523vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:56524vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-9796vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464issue-tracking, x-refsource-redhat, vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.