Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation (Red Hat Red Hat build of Keycloak 26.4)
En bref
- Source
- NVD
- EPSS
- EPSS 0.65 % · centile 51 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Analyzed
Rechercher sur…
Description
A flaw was found in Keycloak's Dynamic Client Registration (DCR) security policy management. The "Allowed Protocol Mapper Types" policy, which restricts which types of data mappers a client can use, fails to re-validate the mapper type during a client update if the mapper's configuration remains unchanged. An attacker with client registration privileges can exploit this by first registering an allowed mapper type with a malicious configuration and then swapping it for a restricted, high-privilege mapper type (such as one that hardcodes administrative roles). This allows the attacker to gain full administrative access to the Keycloak realm.
Faiblesses (CWE)
- CWE-843 — Confusion de type (accès à une ressource via un type incompatible)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-53398
- GCVE · GCVE-0-2026-15572
Avis du CERT-FR
- CERTFR-2026-AVI-0976 — Multiples vulnérabilités dans KeyCloak · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*≥ 26.4 < 26.4.14cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*≥ 26.6 < 26.6.5
Produits affectés
| Produit | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.14-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-22 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-22 < * |
| Red Hat · Red Hat build of Keycloak 26.4.14 | |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6.5-1 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-11 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-11 < * |
| Red Hat · Red Hat build of Keycloak 26.6.5 |
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 |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| 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 |