Org.keycloak.protocol.oidc: keycloak refresh token reuse bypass via toctou race condition (Red Hat Red Hat build of Keycloak 26.4)
En bref
- Source
- NVD
- EPSS
- EPSS 0.30 % · centile 23 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Deferred
Description
A flaw was found in the Keycloak server during refresh token processing, specifically in the TokenManager class responsible for enforcing refresh token reuse policies. When strict refresh token rotation is enabled, the validation and update of refresh token usage are not performed atomically. This allows concurrent refresh requests to bypass single-use enforcement and issue multiple access tokens from the same refresh token. As a result, Keycloak’s refresh token rotation hardening can be undermined.
Faiblesses (CWE)
- CWE-367 — Situation de compétition TOCTOU
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | redhat |
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Avis
- GHSA-m2w5-7xhv-w6fh — Keycloak does not validate and update refresh token usage atomically
Références européennes
- ENISA EUVD · EUVD-2026-3691
- GCVE · GCVE-0-2026-1035
Produits affectés
| Produit | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.11-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-14 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-14 < * |
| Red Hat · Red Hat build of Keycloak 26.4.11 | |
| Red Hat · Red Hat JBoss Enterprise Application Platform 8 | |
| Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack | |
| Red Hat · Red Hat Single Sign-On 7 |
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 |