CVE-2026-9795

HIGH

Keycloak: keycloak: privilege escalation via improper scope mapping enforcement

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-9795
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2482462
https://bugzilla.redhat.com/show_bug.cgi?id=2482462

Scores

CVSS v3 7.3
EPSS 0.0022
EPSS Percentile 12.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-266
Status published
Products (2)
Red Hat/Red Hat Build of Keycloak
redhat/build_of_keycloak
Published May 28, 2026
Tracked Since May 28, 2026