CVE-2026-12388
published medium CVSS 3.1 · 6.5Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.8-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-24 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-24 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6.8 | Unaffected | Not required | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6.8-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-24 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-24 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.8 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-266 Incorrect Privilege Assignment
References
4- RHSA-2026:95761 https://access.redhat.com/errata/RHSA-2026:95761
- RHSA-2026:95762 https://access.redhat.com/errata/RHSA-2026:95762
- https://access.redhat.com/security/cve/CVE-2026-12388
- RHBZ#2489140 https://bugzilla.redhat.com/show_bug.cgi?id=2489140
Provider assertions
2redhat · cna
Keycloak-broker: keycloak: privilege escalation to realm administrator via improper authorization in identity provider mapper
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5ef4e3a5857b271fc46225ea954adec66551e59ee55ee55499b037b930db8fd
- Ingested
- 07 Nov 2026, 23:41:07 UTC
- Source record
- Official CVE record