Privilege escalation in Red Hat Build Of Keycloak
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 42.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-4629 (vdb-entry, Vendor Advisory)
- RHBZ#2450244 (issue-tracking, Exploit, Vendor Advisory)
- RHSA-2026:50846 (vendor-advisory)
- RHSA-2026:50847 (vendor-advisory)
- RHSA-2026:50848 (vendor-advisory)