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 (7)

Core 7
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:30083
https://access.redhat.com/errata/RHSA-2026:30083
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:30084
https://access.redhat.com/errata/RHSA-2026:30084
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:30049
https://access.redhat.com/errata/RHSA-2026:30049
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:30050
https://access.redhat.com/errata/RHSA-2026:30050
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.0035
EPSS Percentile 28.1%
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 (9)
org.keycloak/keycloak-services 0 - 26.6.4Maven
Red Hat/Red Hat Build of Keycloak
Red Hat/Red Hat build of Keycloak 26.4 26.4-19
Red Hat/Red Hat build of Keycloak 26.4 26.4.13-1
Red Hat/Red Hat build of Keycloak 26.4.13
Red Hat/Red Hat build of Keycloak 26.6 26.6-8
Red Hat/Red Hat build of Keycloak 26.6 26.6.4-2
Red Hat/Red Hat build of Keycloak 26.6.4
redhat/build_of_keycloak
Published May 28, 2026
Tracked Since May 28, 2026