Red Hat · Keycloak · published 2026-05-28
CVE-2026-9795Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
Routine No exploitation evidence; EPSS 0.4%.
CVE-2026-9795 is not known to be exploited in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 29% of all CVEs. This Keycloak vulnerability: CVSS 7.3 (v3.1), a successful attack gives total control of the component. Fixed upstream in Keycloak 26.6.4, 26.0.10. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Keycloak 26.6.4, 26.0.10.
Patch events
Identity & secretsKeycloak
Keycloak security releases: 26.6.4, 26.0.10
Upgrade to
26.6.426.0.10Why: Vendor security release for server software (most severe: CVE-2026-11800).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.4% (30th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.3 (v3.1)CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Red Hat Red Hat build of Keycloak 26.4
26.4.13-1to before*(unaffected)
- Red Hat Red Hat build of Keycloak 26.4
26.4-19to before*(unaffected)
- Red Hat Red Hat build of Keycloak 26.4
26.4-19to before*(unaffected)
- Red Hat Red Hat build of Keycloak 26.4.13
- Red Hat Red Hat build of Keycloak 26.6
26.6.4-2to before*(unaffected)
- Red Hat Red Hat build of Keycloak 26.6
26.6-8to before*(unaffected)
- Red Hat Red Hat build of Keycloak 26.6
26.6-8to before*(unaffected)
- Red Hat Red Hat build of Keycloak 26.6.4
Description (from the CVE record)#
A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management permissions can exploit this vulnerability to assign any realm role, including highly privileged roles, to a client's scope mapping. This bypasses intended security controls, allowing the injected role to be projected into a user's authentication token when they access the modified client. This could lead to unauthorized privilege escalation within the Keycloak realm.
Quoted from the CVE Program record.