CVE-2026-4629
Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
Vexday Risk Score
10Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 6.5EPSS —KEV nãoPoC —Nuclei —Metasploit —Patch —
Lifecycle
30 Jun 2026Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Affected products
Red Hat · Red Hat Build of KeycloakWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →