CVE-2026-12388
MEDIUMKeycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-12388. PoCs published by HermesNA-1.
AI-analyzed exploit summary This repository contains an auto-generated stub module for CVE-2026-12388, a flaw in Keycloak's Identity Provider (IdP) mapper component. The code includes placeholder methods (`check` and `run`) with no actual exploit implementation, only references to external sources for details.
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.
Exploits (1)
This repository contains an auto-generated stub module for CVE-2026-12388, a flaw in Keycloak's Identity Provider (IdP) mapper component. The code includes placeholder methods (`check` and `run`) with no actual exploit implementation, only references to external sources for details.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N