CVE-2026-9796
mediumpriority · track · 0EPSS 0.002 · 12 %ileDEEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1708Keycloak: Mehrere SchwachstellenDeutsch2026-05-27csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Keycloak ausnutzen, um seine Privilegien zu erhöhen, um Informationen offenzulegen, um Sicherheitsvorkehrungen zu umgehen und um einen Denial of Service Angriff durchzuführen.
- GHSA-pq65-77rc-7r8cKeycloak has a Time-of-check Time-of-use (TOCTOU) Race Condition2026-05-28ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-9796cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464cnnvd
- https://access.redhat.com/security/cve/CVE-2026-9796enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:56523nvd
- https://access.redhat.com/errata/RHSA-2026:56524nvd
- https://access.redhat.com/security/cve/CVE-2026-9796Vendor Advisorynvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464Issue TrackingVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan