CVE-2026-9796
Last modified
CVE-2026-9796 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | All versions |
References
- https://access.redhat.com/security/cve/CVE-2026-9796Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-9796?
How severe is CVE-2026-9796?
How do I fix CVE-2026-9796?
Are you affected by CVE-2026-9796?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
