Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 86%

CVE-2026-12388: Incorrect Privilege Assignment in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2026-12388cvecve-2026-12388
Published: 06/30/2026 (06/30/2026, 12:00:28 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 12:51:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses