Privilege escalation in Red Hat Build Of Keycloak
CVE-2026-12388
A flaw was found in the Identity Provider (IdP) mapper component of Keycloak, which is used to manage how user information from external services is mapped to Keycloak users. An administrator with limited permissions to manage identity providers can exploit this flaw by creating a "Hardcoded Role" mapper that assigns high-level administrative roles (like realm-admin) to themselves or others. This allows a restricted administrator to bypass security checks and gain full control over the entire 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.004 (32.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 32nd percentile — 32.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-12388 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-12388?
- CVE-2026-12388 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-12388?
- Medium severity. CVSS v3 base score is 6.5 out of 10.