6.5Media

CVE-2026-4629Keycloak: keycloak: privilege escalation through hardcoded role mapper injection

Red Hat Red Hat build of Keycloak 26.4; Red Hat Red Hat build of Keycloak 26.4.14; Red Hat Red Hat build of Keycloak 26.6.5 Publicada: (hace 4 meses)

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

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:*