CVEvulnerability

CVE-2026-12388

6.5 MEDIUM Published 2026-06-30 Modified 2026-07-01 Official page ↗
Status
Analyzed
Published
2026-06-30
Last modified
2026-07-01
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-266

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 configurations

• redhat build of keycloak

Related

Weakness · CWE (1)

  • CWE-266 Incorrect Privilege Assignment weakness

References