CVE-2026-9795
Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
CVSS Score
7.3
EPSS Score
0.0%
EPSS Percentile
0th
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 26.4 |
| Published | May 28, 2026 |
| Last Updated | Jul 15, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat build of keycloak 26.4
Be the first to know when new high vulnerabilities affecting red hat red hat build of keycloak 26.4 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 26.4
All versions affected Red Hat / Red Hat build of Keycloak 26.4
All versions affected Red Hat / Red Hat build of Keycloak 26.4
All versions affected Red Hat / Red Hat build of Keycloak 26.4.13
All versions affected Red Hat / Red Hat build of Keycloak 26.6
All versions affected Red Hat / Red Hat build of Keycloak 26.6
All versions affected Red Hat / Red Hat build of Keycloak 26.6
All versions affected Red Hat / Red Hat build of Keycloak 26.6.4
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:30049 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:30050 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:30083 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:30084 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-9795 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2482462 security.access.redhat.com: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json
Credits
Red Hat would like to thank Andrej Tomci for reporting this issue.