Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | - |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2026:56523
- https://access.redhat.com/errata/RHSA-2026:56524
- https://access.redhat.com/security/cve/CVE-2026-9796Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464Issue TrackingVendor Advisory
FAQ
What is CVE-2026-9796?
CVE-2026-9796 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2026-9796?
CVE-2026-9796 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-9796?
Check the references section above for vendor advisories and patch information. Affected products include: Redhat Build Of Keycloak.