Privilege Escalation Vulnerability in Keycloak's Fine-Grained Admin Permissions
CVE-2026-9795
7.3HIGH
What is CVE-2026-9795?
A significant flaw exists in the Fine-Grained Admin Permissions (FGAPv2) feature of Keycloak. This vulnerability allows an administrator with restricted client management permissions to exploit the system by assigning any realm role to a client's scope mapping. As a result, this bypasses the intended security controls within the platform. When a user accesses the compromised client, the injected role is projected into their authentication token, which could facilitate unwanted privilege escalation within the Keycloak realm, potentially leading to unauthorized access and manipulation of sensitive resources.
References
CVSS V3.1
Score:
7.3
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
High
User Interaction:
Required
Scope:
Changed
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Andrej Tomci for reporting this issue.