CVE-2026-9795 | Keycloak: keycloak: privilege escalation via improper scope mapping enforcement

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.

Published: 2026-05-28 Last update: 2026-06-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-9795 is rated Low Risk (32.5/100): CVSS High severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-9795

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-28 0.03%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-9795

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.0 5.8 [email protected]

Weakness enumeration for CVE-2026-9795

GitHub Security Advisory for CVE-2026-9795

GHSA-8hcx-p7m8-gc28 · Severity: high — A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator...

OS Trackers for CVE-2026-9795

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2026-9795

Affected software / configurations for CVE-2026-9795

Vendor Product Version Raw CPE
redhat build_of_keycloak cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*

References for CVE-2026-9795

URL Tags
https://access.redhat.com/security/cve/CVE-2026-9795 Mitigation Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2482462 Issue Tracking Vendor Advisory
cvelogic Threat Intelligence