CVE-2026-4629

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.
Configurations

Configuration 1 (hide)

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

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Se encontró un defecto en Keycloak. Un usuario con altos privilegios con permiso ’manage-clients’ puede explotar esta vulnerabilidad inyectando un mapeador de roles codificado en cualquier cliente. Esta acción permite al usuario eludir las restricciones de alcance existentes e inyectar el rol ’realm-admin’ en los tokens generados, lo que resulta en escalada de privilegios y acceso administrativo completo al reino.

22 Oct 2026, 21:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:50848 -

Information

Published : 2026-06-30 13:18

Updated : 2026-10-25 21:10


NVD link : CVE-2026-4629

Mitre link : CVE-2026-4629

CVE.ORG link : CVE-2026-4629


JSON object : View

Products Affected

redhat

  • build_of_keycloak
CWE
CWE-266

Incorrect Privilege Assignment