CVE-2026-12388
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.
Published:Jun 30, 2026
Last Modified:Jun 30, 2026
EPS:Jun 30, 2026
EPSS Score:
CVSS Score:6.5
Affected Products
Vendor
Product
Action
Vendor
Redhat
Product
Build Keycloak
Redhat
Build Keycloak
Vendor
Redhat
Product
Build Of Keycloak
Redhat
Build Of Keycloak
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
