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 trend (30 days)EPSS over the last 30 days for CVE-2026-4629: held from 0.005 to 0.005.

EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000

Affected products

Weakness classification (CWE)

References

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.