Keycloak: keycloak: privilege escalation via time-of-check to time-of-use (toctou) vulnerability
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6.6 | unaffected | — | ||||||
| Red Hat | Red Hat Build of Keycloak | affected | — |
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Keycloak |
|
Vendor Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-pq65-77rc-7r8c | Keycloak has a Time-of-check Time-of-use (TOCTOU) Race Condition |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.219% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak: |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.6 cpe:/a:redhat:build_keycloak:26.6::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat build Of Keycloak
|
|
| CPEs | cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:* | |
| Vendors & Products |
Redhat build Of Keycloak
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat keycloak
|
|
| Vendors & Products |
Redhat keycloak
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Keycloak: keycloak: privilege escalation via time-of-check to time-of-use (toctou) vulnerability | |
| First Time appeared |
Redhat
Redhat build Keycloak |
|
| Weaknesses | CWE-367 | |
| CPEs | cpe:/a:redhat:build_keycloak: | |
| Vendors & Products |
Redhat
Redhat build Keycloak |
|
| References |
| |
| Metrics |
cvssV3_1
|