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

Configuration 1 (hide)

cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*

History

26 Oct 2026, 12:10

Type Values Removed Values Added
Summary
  • (es) Se encontró una falla en Keycloak. Un administrador autenticado con el rol ’manage-clients’ puede explotar una vulnerabilidad de tipo Time-of-check to time-of-use (TOCTOU) en las comprobaciones de roles de administrador basadas en nombres. Esto permite al atacante escalar sus privilegios a ’realm-admin’ para todos los usuarios dentro del reino, otorgándoles un control extenso sobre el sistema. La relación de rol compuesto persiste incluso después de que se revoquen los propios permisos del atacante y tras los reinicios del sistema.

Information

Published : 2026-05-28 05:16

Updated : 2026-10-26 12:10


NVD link : CVE-2026-9796

Mitre link : CVE-2026-9796

CVE.ORG link : CVE-2026-9796


JSON object : View

Products Affected

redhat

  • build_of_keycloak
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition