Keycloak-services: keycloak-services: stateless token preferred_username fallback enables identity rebinding (Red Hat Red Hat build of Keycloak 26.6)
En bref
- Source
- NVD
- EPSS
- EPSS 0.24 % · centile 16 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Produits affectés
- Red Hat · Red Hat build of Keycloak 26.6
Red Hat · Red Hat build of Keycloak 26.6.8
Red Hat · Red Hat Single Sign-On 7 - Statut NVD
- Awaiting Analysis
Rechercher sur…
Description
A flaw was found in the TokenManager component of Keycloak, an open-source identity and access management solution. The issue occurs during the validation of stateless access tokens when the original user ID no longer exists. Keycloak incorrectly falls back to using the username to identify the user without verifying if the identity matches the original token subject. This could allow an attacker with an old token to gain access to a newly created service account if it shares the same client ID as a previously deleted one.
Faiblesses (CWE)
- CWE-287 — Authentification incorrecte
Crédits
- Red Hat would like to thank Michael Allen for reporting this issue.
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-117917
- GCVE · GCVE-0-2026-96447
Produits affectés
| Produit | Versions affectées |
|---|---|
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-operator-bundle | non affectée : ≥ 26.6.8-2 < * Autres versions : affectée |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9 | non affectée : ≥ 26.6-24 < * Autres versions : affectée |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9-operator | non affectée : ≥ 26.6-24 < * Autres versions : affectée |
Red Hat · Red Hat build of Keycloak 26.6.8keycloak-services | Autres versions : non affectée |
Red Hat · Red Hat build of Keycloak 26.6.8rhbk/keycloak-rhel9 | Autres versions : non affectée |
Red Hat · Red Hat Single Sign-On 7keycloak-services | Autres versions : non affectée |
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 |