CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:"],"defaultStatus":"affected","packageName":"rhbk/keycloak-rhel9","product":"Red Hat Build of Keycloak","vendor":"Red Hat"}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a65fc69158338a1931b8f5d306b57fac939845c8eb4c3ab7b6de5898f4cdcdbd · sha256:7ea3a2735310117b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a65fc69158338a1931b8f5d306b57fac939845c8eb4c3ab7b6de5898f4cdcdbd · sha256:7ea3a2735310117b… · /containers/cna/metrics/1/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-367","description":"Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a65fc69158338a1931b8f5d306b57fac939845c8eb4c3ab7b6de5898f4cdcdbd · sha256:7ea3a2735310117b… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["vdb-entry","x_refsource_REDHAT"],"url":"https://access.redhat.com/security/cve/CVE-2026-9796"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a65fc69158338a1931b8f5d306b57fac939845c8eb4c3ab7b6de5898f4cdcdbd · sha256:7ea3a2735310117b… · /containers/cna/references/0
{"name":"RHBZ#2482464","tags":["issue-tracking","x_refsource_REDHAT"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482464"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a65fc69158338a1931b8f5d306b57fac939845c8eb4c3ab7b6de5898f4cdcdbd · sha256:7ea3a2735310117b… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.