Red Hat build of Keycloak 26.6 · privilege escalation
cve-program · CVE-2026-12388
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-12388 · CVE overview and exploitation status
cve-program · CVE-2026-12388
Related changes
Linked by CVE identifier- Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper · Affected-version evidence changed · 6 Nov 2026
- Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper · Affected-version evidence changed · 6 Nov 2026