CVE-2026-9795

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductRedhat Build Of Keycloak
PublishedMay 28, 2026
First seenMay 28, 2026
Weakness typeCWE-266CWE-266

How to fix

Affected products

ProductAffected versionsFixed in
redhat build_of_keycloakNo range specified—
org.keycloak:keycloak-servicesMavenv < 26.6.426.6.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.