# CVE-2026-9796

## Summary

- **CVE ID:** CVE-2026-9796
- **Severity:** MEDIUM
- **CVSS Score:** 6.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N)
- **CWE:** CWE-367
- **Published:** May 28, 2026
- **Last Modified:** Sep 15, 2026

## 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.

## Affected Products

- Red Hat — Red Hat build of Keycloak 26.6 (26.6-12)
- Red Hat — Red Hat build of Keycloak 26.6 (26.6.6-1)

## References

- [CNA](https://access.redhat.com/security/cve/CVE-2026-9796)
- [CNA](https://bugzilla.redhat.com/show_bug.cgi?id=2482464)
- [CNA](https://access.redhat.com/errata/RHSA-2026:56523)
- [CNA](https://access.redhat.com/errata/RHSA-2026:56524)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.22%
- **EPSS Percentile:** 12.6

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._