CVE-2026-12388: Incorrect Privilege Assignment in Red Hat Red Hat Build of Keycloak
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.
AI Analysis
Technical Summary
This vulnerability exists in the IdP mapper component of Red Hat Build of Keycloak, where an administrator with restricted permissions can exploit the ability to create a "Hardcoded Role" mapper. This mapper can assign powerful roles such as realm-admin, effectively elevating privileges beyond intended limits. The flaw enables privilege escalation within the realm by bypassing security checks. The CVSS 3.1 vector indicates network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high confidentiality and integrity impact with no availability impact. Red Hat has published an advisory but has not yet provided a patch or official remediation instructions.
Potential Impact
An attacker with limited administrative permissions can escalate their privileges to full realm administrator by exploiting this flaw. This results in complete control over the realm, including the ability to manage users, roles, and configurations, potentially compromising confidentiality and integrity of the system. There is no indication of availability impact or known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-12388 for current remediation guidance. Until a fix is available, restrict administrative permissions carefully to trusted users and monitor for unauthorized creation of "Hardcoded Role" mappers. No official fix or temporary workaround is currently documented by Red Hat.
CVE-2026-12388: Incorrect Privilege Assignment in Red Hat Red Hat Build of Keycloak
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.
CVSS v3.1
Score 6.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the IdP mapper component of Red Hat Build of Keycloak, where an administrator with restricted permissions can exploit the ability to create a "Hardcoded Role" mapper. This mapper can assign powerful roles such as realm-admin, effectively elevating privileges beyond intended limits. The flaw enables privilege escalation within the realm by bypassing security checks. The CVSS 3.1 vector indicates network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high confidentiality and integrity impact with no availability impact. Red Hat has published an advisory but has not yet provided a patch or official remediation instructions.
Potential Impact
An attacker with limited administrative permissions can escalate their privileges to full realm administrator by exploiting this flaw. This results in complete control over the realm, including the ability to manage users, roles, and configurations, potentially compromising confidentiality and integrity of the system. There is no indication of availability impact or known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-12388 for current remediation guidance. Until a fix is available, restrict administrative permissions carefully to trusted users and monitor for unauthorized creation of "Hardcoded Role" mappers. No official fix or temporary workaround is currently documented by Red Hat.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-16T11:41:17.075Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-12388","vendor":"Red Hat"}]
Threat ID: 6a43b89827e9c79719c1b3e3
Added to database: 06/30/2026, 12:37:44 UTC
Last enriched: 06/30/2026, 12:51:38 UTC
Last updated: 08/14/2026, 12:41:08 UTC
Views: 88
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.