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.
CVE-2026-12388
Score 6.5 from GitHub Security Advisory published 2026-06-30. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EPSS
- 14.1%
- KEV
- Not listed
Published
June 30, 2026
Last Modified
July 1, 2026
Advisory Details (2)
Auto-updated Jun 30, 20262489140 – (CVE-2026-12388) CVE-2026-12388 keycloak-broker: Keycloak: Privilege escalation to realm administrator via improper authorization in identity provider mapper
https://bugzilla.redhat.com/show_bug.cgi?id=2489140Vendor Advisories for CVE-2026-12388(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 22:15 UTCEG score recompute
- 2026-07-06 22:15 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 20:53 UTCEG score recompute
- 2026-07-05 20:53 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 19:35 UTCEG score recompute
- 2026-07-04 19:34 UTCGHSA enrichment
- 2026-07-03 18:20 UTCEG score recompute
- 2026-07-03 18:19 UTCGHSA enrichment
- 2026-07-02 17:04 UTCEG score recompute
- 2026-07-02 17:04 UTCGHSA enrichment
- 2026-07-01 15:48 UTCEG score recompute
- 2026-07-01 15:48 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 14:34 UTCEG score recompute
- 2026-06-30 14:32 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-12388?
When was CVE-2026-12388 disclosed?
Is CVE-2026-12388 actively exploited?
What is the CVSS score of CVE-2026-12388?
How do I remediate CVE-2026-12388?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12388
Is Your Infrastructure Affected by CVE-2026-12388?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.