CVE-2026-9795
Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
CVSS Score
7.3
EPSS Score
0.0%
EPSS Percentile
9th
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.
| CWE | CWE-266 |
| Vendor | red hat |
| Product | red hat build of keycloak |
| Published | May 28, 2026 |
| Last Updated | May 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat build of keycloak
Be the first to know when new high vulnerabilities affecting red hat red hat build of keycloak are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
Red Hat / Red Hat Build of Keycloak
All versions affected References
Credits
Red Hat would like to thank Andrej Tomci for reporting this issue.