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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-12388 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2489140 | Vendor Advisory |
Configurations
History
01 Jul 2026, 20:26
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Redhat build Of Keycloak
Redhat |
|
| CPE | cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:* | |
| References | () https://access.redhat.com/security/cve/CVE-2026-12388 - Vendor Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2489140 - Vendor Advisory |
30 Jun 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-30 13:17
Updated : 2026-07-01 20:26
NVD link : CVE-2026-12388
Mitre link : CVE-2026-12388
CVE.ORG link : CVE-2026-12388
JSON object : View
Products Affected
redhat
- build_of_keycloak
CWE
CWE-266
Incorrect Privilege Assignment
