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 (39.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Red Hat Build Of Keycloak
- Red Hat Build Of Keycloak 26.4 — versions 26.4-22, 26.4.14-1
- Red Hat Build Of Keycloak 26.4.14
- Red Hat Build Of Keycloak
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-4629 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Exploit, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:50846 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:50847 (vendor-advisory)
Frequently asked questions
- What is CVE-2026-4629?
- CVE-2026-4629 is a medium-severity vulnerability in Red Hat Build Of Keycloak, classified under Incorrect Privilege Assignment. CVSS score: 6.5/10. Published 2026-06-30.
- How severe is CVE-2026-4629?
- Medium severity. CVSS v3 base score is 6.5 out of 10.