CVE-2026-12388
6.5medium
Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
- Severity
- 6.5medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.6.8-2 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.6-24 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.6-24 before * | CVE List |
| redhat build_of_keycloak | Not specified | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://access.redhat.com/errata/RHSA-2026:95761 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:95762 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-12388 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2489140 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12388 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-12388 changed 2026-11-06 | Public domain |