CVE-2026-12388 json
Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
published 2026-06-30 4 mo ago modified 2026-11-06 2 d ago also EUVD-2026-40301
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat build of Keycloak 26.6 26.6-24, 26.6.8-2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-12388 updated cvss 6.5
keycloak-broker: Keycloak: Privilege escalation to realm administrator via improper authorization in identity provider mapper
-
Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9 26.6-24, rhbk/keycloak-rhel9-operator 26.6-24, rhbk/keycloak-operator-bundle 26.6.8-2fixed: vendor fix RHSA-2026:95762
-
Red Hat build of Keycloak 26.6.8fixed: vendor fix RHSA-2026:95761
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected products
- Red Hat Red Hat build of Keycloak 26.6
- Red Hat Red Hat build of Keycloak 26.6.8
Classification
- Weakness
-
- CWE-266 Incorrect Privilege Assignment
References
-
access.redhat.com
/errata/RHSA-2026:95761
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:95762
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-12388
vdb-entry, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2489140
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2026-12388
- NVD CVE-2026-12388
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.