Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-12388 EUVD-2026-40301GHSA-jxqv-2jjx-692h

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

Published Jun 30, 2026 · Updated Nov 6, 2026 · 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 products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.6 — —
Red Hat Red Hat build of Keycloak 26.6.8 — —

Advisories 1

References