What’s Vulnerable › Vulnerabilities
CVE-2026-12388: Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-30 · updated 2026-07-01
- Weakness: CWE-266
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.
Affected products
- Red Hat build of Keycloak 26.4: all versions
References
- https://access.redhat.com/security/cve/CVE-2026-12388
- https://bugzilla.redhat.com/show_bug.cgi?id=2489140
Get alerted when CVE-2026-12388 or the next vulnerability affects your stack