Vulnerability

CVE-2026-12388

mediumCVSS 3.1 6.5Published 30 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Red Hat build of keycloak

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning