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.
CVE-2026-9796
Score 6.5 from GitHub Security Advisory published 2026-05-28. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EG Risk
- 29(Track)EG Risk 29/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 12%
- KEV
- Not listed
Published
May 28, 2026
Last Modified
August 19, 2026
Advisory Details (2)
Auto-updated Jun 13, 20262482464 – (CVE-2026-9796) CVE-2026-9796 keycloak: Keycloak: Privilege escalation via Time-of-Check to Time-of-Use (TOCTOU) vulnerability
https://bugzilla.redhat.com/show_bug.cgi?id=2482464Vendor Advisories for CVE-2026-9796(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:56524Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat build of Keycloak 26.6.6 Images Security Update
- RHSA-2026:56523Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat build of Keycloak 26.6.6 Security Update
- GHSA-pq65-77rc-7r8cGitHub Security AdvisoriesMedium
Keycloak has a Time-of-check Time-of-use (TOCTOU) Race Condition
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rhbk/keycloak-rhel9-operator:26.6-12 | 2026-08-18 | redhat |
| redhat | rhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | 2026-08-18 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.keycloak:keycloak-server | 1.0-alpha-1-12062013 ... 1.2.0.Beta1 (14 versions) | 26.6.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 52× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 155 total refreshes for this CVE.
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-30 19:18 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 05:08 UTCEG score recompute
- 2026-08-25 05:08 UTCVendor advisory
- 2026-08-24 14:18 UTCEPSS rescore
- 2026-08-23 14:51 UTCEG score recompute
- 2026-08-23 14:51 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 20:27 UTCVendor advisory
- 2026-08-20 11:11 UTCEG score recompute
- 2026-08-20 11:11 UTCVendor advisory
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 04:22 UTCEG score recompute
- 2026-08-19 04:22 UTCVendor advisory
- 2026-08-19 03:32 UTCEG score recompute
- 2026-08-19 03:32 UTCVendor advisory
Show 75 moreShow fewer
- 2026-08-18 22:24 UTCEG score recompute
- 2026-08-18 21:48 UTCEG score recompute
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 09:07 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 03:07 UTCEG score recompute
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 02:14 UTCEG score recompute
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-14 01:22 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 13:51 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 12:27 UTCEG score recompute
- 2026-08-11 12:02 UTCEG score recompute
- 2026-08-11 01:14 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 00:22 UTCEG score recompute
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-08 23:29 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 22:35 UTCEG score recompute
- 2026-08-07 16:30 UTCEPSS rescore
- 2026-08-06 21:43 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 20:49 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 16:43 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 15:50 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 14:57 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 07:04 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 14:37 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 14:14 UTCEPSS rescore
- 2026-07-27 09:53 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:23 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-02 17:02 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 03:43 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 13:51 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-9796?
When was CVE-2026-9796 disclosed?
Is CVE-2026-9796 actively exploited?
What is the CVSS score of CVE-2026-9796?
How do I remediate CVE-2026-9796?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-9796
Is Your Infrastructure Affected by CVE-2026-9796?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.