PatchSiren cyber security CVE debrief
CVE-2026-12388 Red Hat CVE debrief
A flaw in Keycloak's IdP mapper component allows a restricted administrator to create a 'Hardcoded Role' mapper, assigning high-level administrative roles to themselves or others, bypassing security checks and gaining full control over the entire realm. This issue arises from insufficient validation of mapper configurations, enabling attackers to escalate privileges. Administrators should verify configurations and implement compensating controls to mitigate potential damage. The vulnerability highlights the importance of stringent access controls and regular security audits within Keycloak deployments.
- Vendor
- Red Hat
- Product
- Red Hat build of Keycloak 26.6.8
- CVSS
- MEDIUM 6.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-30
- Original CVE updated
- 2026-11-06
- Advisory published
- 2026-06-30
- Advisory updated
- 2026-11-06
Who should care
Keycloak administrators, security teams, and developers using Keycloak for identity management should assess exposure and verify configurations. These stakeholders must review IdP mapper settings, role assignments, and implement compensating controls to mitigate potential damage. Security teams should also monitor for suspicious activity and ensure that limited administrators cannot create 'Hardcoded Role' mappers.
Why it matters
CVE-2026-12388 allows restricted administrators to exploit a flaw in Keycloak's IdP mapper component, gaining elevated privileges and control over the entire realm, requiring verification of configurations and implementation of compensating controls.
- Restricted administrators can gain elevated privileges and control over the entire realm
- Bypassing security checks allows for unauthorized role assignments
- Verification of IdP mapper configurations and assigned roles is necessary
- Implementing compensating controls and monitoring for suspicious activity is recommended
Technical summary
The IdP mapper component in Keycloak is vulnerable to exploitation by restricted administrators, allowing them to create 'Hardcoded Role' mappers and gain elevated privileges. This issue stems from inadequate validation of mapper configurations, enabling attackers to bypass security checks. Technical mitigation involves restricting IdP mapper configurations and ensuring limited administrators cannot create 'Hardcoded Role' mappers. A comprehensive review of assigned roles and implementation of compensating controls is also necessary.
Defensive priority
Keycloak administrators should verify and restrict IdP mapper configurations, review assigned roles, and ensure limited administrators cannot create 'Hardcoded Role' mappers.
Recommended defensive actions
- Verify and restrict IdP mapper configurations
- Review assigned roles and ensure limited administrators cannot create 'Hardcoded Role' mappers
- Monitor for suspicious activity and implement compensating controls
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and NVD entry provide details on the flaw in Keycloak's IdP mapper component, its impact, and affected versions. Evidence is based on official advisories and CVE metadata, with limitations on source-provided information. Defenders should verify configurations, review assigned roles, and monitor for suspicious activity. Additional information from vendor advisories and security research may be necessary for comprehensive risk assessment.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-12388 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-12388
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-12388 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-12388
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:95761
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/security/cve/CVE-2026-12388
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.