NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

highCVSS 3.1 7.3GHSA-32h4-44jj-c5vx

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.

Published Jul 1, 2026

Affected packages

org.keycloak:keycloak-services

Ecosystem
Maven
Affected
< 26.6.4
Fixed in
26.6.4
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries