Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | - |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2026-12388Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489140Vendor Advisory
FAQ
What is CVE-2026-12388?
CVE-2026-12388 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 lim...
How severe is CVE-2026-12388?
CVE-2026-12388 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-12388?
Check the references section above for vendor advisories and patch information. Affected products include: Redhat Build Of Keycloak.