CVE-2026-12388
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by redhat
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.6.8-2 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.6-24 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.6-24 before *
CVE List
redhat build_of_keycloakNot specifiedNVD

Classification

CWE-266

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12388 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-12388 changed 2026-11-06Public domain