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
Configurations
History
06 Nov 2026, 18:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
06 Nov 2026, 11:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
01 Jul 2026, 20:26
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://access.redhat.com/security/cve/CVE-2026-12388 - Vendor Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2489140 - Vendor Advisory | |
| First Time |
Redhat build Of Keycloak
Redhat |
|
| CPE | cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:* |
30 Jun 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-30 13:17
Updated : 2026-11-06 18:18
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
