6.5Media
CVE-2026-4629Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
Descripción
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.
Debilidad (CWE):
CWE-266
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| build keycloak | 26.4 | — | |
| build keycloak | 26.6 | — | |
| redhat | build of keycloak | — | |
| Red Hat | Red Hat build of Keycloak 26.4 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.4.14 | — | |
| Red Hat | Red Hat build of Keycloak 26.6.5 | — |
Referencias y parches
- RHSA-2026:50846 vendor-advisory
- RHSA-2026:50847 vendor-advisory
- RHSA-2026:50848 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-4629 vdb-entryVendor Advisory
- RHBZ#2450244 issue-trackingExploitVendor Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:*