CVE-2026-9795
Keycloak has privilege escalation via improper scope mapping enforcement
7.3
HIGH
CVSS 3.1
EPSS 0.29%
Description
### Description 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.
How to fix CVE-2026-9795
To remediate CVE-2026-9795, upgrade the affected package to a fixed version below.
- —upgrade to 26.6.4 or later
Is CVE-2026-9795 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 26.6.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |