IdP mapper admin role escalation identity-brokering
En bref
- Source
- VigieVuln
- CVE
- CVE-2026-12388
- Criticité de la CVE
- MEDIUM 6.5 selon la fiche CVE
- EPSS
- 0.35 % ·
- ENISA EUVD
- EUVD-2026-40301
- Publiée
- 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 - Validation
- Validation humaine.
- Confiance déclarée lors de la recherche
- non renseignée
- Mise à jour
Description
A flaw was found in the Identity Provider (IdP) mapper component of Keycloak, which is used to manage how user information from external services is mapped to Keycloak users. An administrator with limited permissions to manage identity providers can exploit this flaw by creating a "Hardcoded Role" mapper that assigns high-level administrative roles (like realm-admin) to themselves or others. This allows a restricted administrator to bypass security checks and gain full control over the entire realm.
Réconciliation
Rapprochement réalisé avec assistance IA. Validation humaine.
The publisher release notes identify the correction in 26.8.0. The relevant production code before the patch was checked at each listed affected tag, and the corresponding patch was checked at 26.8.0. The exact tags only are assessed; other releases and exploitability conditions remain unassessed and require human review.
Seules les plages et versions indiquées ont été vérifiées ; les autres restent indéterminées.
Informations ajoutées ou précisées : Maven · org.keycloak:keycloak-services — versions vérifiées : 26.7.0, 26.7.1, 26.7.2 ; non affectées : 26.8.0.
Sources d’origine
Nouvelles sources
- https://www.cve.org/CVERecord?id=CVE-2026-12388 — Original CVE record
- https://www.keycloak.org/2026/10/keycloak-2680-released — Publisher release notes identify this CVE among the fixes
- https://github.com/keycloak/keycloak/issues/50444 — Publisher vulnerability report
- https://github.com/keycloak/keycloak/pull/52652 — Publisher patch for the reported issue
- https://github.com/keycloak/keycloak/blob/26.7.0/services/src/main/java/org/keycloak/broker/oidc/mappers/AbstractClaimToGroupMapper.java — Production module source at publisher tag 26.7.0; pre-fix code verified
- https://github.com/keycloak/keycloak/blob/26.7.1/services/src/main/java/org/keycloak/broker/oidc/mappers/AbstractClaimToGroupMapper.java — Production module source at publisher tag 26.7.1; pre-fix code verified
- https://github.com/keycloak/keycloak/blob/26.7.2/services/src/main/java/org/keycloak/broker/oidc/mappers/AbstractClaimToGroupMapper.java — Production module source at publisher tag 26.7.2; pre-fix code verified
- https://github.com/keycloak/keycloak/blob/26.8.0/services/src/main/java/org/keycloak/broker/oidc/mappers/AbstractClaimToGroupMapper.java — Production module source at publisher tag 26.8.0; patched hunk verified
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | 26.7.0, 26.7.1, 26.7.2 Non affectées : 26.8.0 |
Informations de la CVE d’origine
Informations reprises de la fiche CVE et, lorsqu’indiqué, de NVD. Voir la fiche CVE complète
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.8rhbk/keycloak-rhel9 | Autres versions : non affectée |
Faiblesses (CWE)
- CWE-266 — Incorrect Privilege Assignment
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) |
Références
Sources
| Source | Licence |
|---|---|
| CVE Project | |
| VigieVuln | |
| NVD (NIST) | Public domain |