Keycloak: keycloak: privilege escalation through hardcoded role mapper injection (Red Hat Red Hat build of Keycloak 26.4)
En bref
- Source
- NVD
- EPSS
- EPSS 0.49 % · centile 42 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Modified
Description
A flaw was found in Keycloak. A highly privileged user with `manage-clients` permission can exploit this vulnerability by injecting a hardcoded role mapper into any client. This action allows the user to bypass existing scope restrictions and inject the `realm-admin` role into generated tokens, resulting in privilege escalation and full administrative access to the realm.
Faiblesses (CWE)
- CWE-266 — Incorrect Privilege Assignment
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) |
Références européennes
- ENISA EUVD · EUVD-2026-40300
- GCVE · GCVE-0-2026-4629
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.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.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 |
| 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 |