CVE-2026-12388CWE-266

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

Medium · published June 30, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
33.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00405 · 33.7th percentile
Weakness
CWE-266 · Incorrect Privilege Assignment
Published
2026-06-30T12:00Z
EPSS history
Timeline
  • 30 JUN 12:00Z
    Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
    cvelistv5