IdP mapper admin role escalation identity-brokering

VV:CVE-2026-12388
MEDIUM 6.5VigieVulnAI-assisted

At a glance

Source
VigieVuln
CVE
CVE-2026-12388
CVE severity
MEDIUM 6.5 from the CVE record
EPSS
0.35 % ·
ENISA EUVD
EUVD-2026-40301
Published
Assigner
redhat
Affected products
Red Hat · Red Hat build of Keycloak 26.6
Red Hat · Red Hat build of Keycloak 26.6.8
Review
Reviewed by a human.
Confidence reported during research
not provided
Updated

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.

Reconciliation

Reconciled with AI assistance. Reviewed by a human.

The publisher release notes identify the correction in 26.8.0. The relevant production code before the patch was checked at each listed affected tag, and the corresponding patch was checked at 26.8.0. The exact tags only are assessed; other releases and exploitability conditions remain unassessed and require human review.

Only the listed ranges and versions were verified; other versions remain undetermined.

Information added or clarified: Maven · org.keycloak:keycloak-services — verified versions : 26.7.0, 26.7.1, 26.7.2 ; not affected : 26.8.0.

Original sources

New evidence

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-services26.7.0, 26.7.1, 26.7.2
Not affected : 26.8.0

Original CVE information

Information from the CVE record and, where indicated, NVD. View the full CVE record

Affected products

ProductAffected versions
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-operator-bundle
unaffected : ≥ 26.6.8-2 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9
unaffected : ≥ 26.6-24 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9-operator
unaffected : ≥ 26.6-24 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6.8
rhbk/keycloak-rhel9
Other versions : unaffected

Weaknesses (CWE)

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Nredhat
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NNVD · secalert@redhat.com (Secondary)

References

Sources

SourceLicence
CVE Project
VigieVuln
NVD (NIST)Public domain