Keycloak: keycloak: privilege escalation via time-of-check to time-of-use (toctou) vulnerability (Red Hat Red Hat build of Keycloak 26.6)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 12 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Modified
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.
Faiblesses (CWE)
- CWE-367 — Situation de compétition TOCTOU
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
Avis
- GHSA-pq65-77rc-7r8c — Keycloak has a Time-of-check Time-of-use (TOCTOU) Race Condition
Références européennes
- ENISA EUVD · EUVD-2026-32716
- GCVE · GCVE-0-2026-9796
Configurations affectées (CPE NVD)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6.6-1 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-12 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-12 < * |
| Red Hat · Red Hat build of Keycloak 26.6.6 | |
| Red Hat · Red Hat Build of Keycloak |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |