Skip to content

CVE-2026-12388 Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper

MediumCVSS 6.5 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

6 packages: 1 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat build of keycloak All versions No fix listed No fix yet
redhat/rhbk/keycloak-operator-bundle:26.6.8-2(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9-operator:26.6-24(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9:26.6-24(Red Hat build_keycloak 26.6 el9) All versions No fix listed No fix yet
redhat build keycloak < 26.6-24; < 26.6.8-2; = 26.6 26.6-24, 26.6.8-2 Fixed

Affected products

ProductAffected versionsFixed in
redhat build keycloak < 26.6.8-2 26.6.8-2
redhat build keycloak < 26.6-24 26.6-24
redhat build keycloak = 26.6 No fix listed
redhat/rhbk/keycloak-operator-bundle:26.6.8-2(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/rhbk/keycloak-rhel9:26.6-24(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/rhbk/keycloak-rhel9-operator:26.6-24(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:26.6::el9) All versions No fix listed
redhat build of keycloak All versions No fix listed

References