CVE-2026-9795 Details
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.
A privilege escalation vulnerability exists in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management rights can exploit this flaw to assign any realm role, including highly privileged ones, to a client's scope mapping. This action bypasses established security controls, allowing the assigned role to be included in a user's authentication token when they access the altered client. Consequently, this could result in unauthorized privilege escalation within the Keycloak realm.
To address this vulnerability, disable the Fine-Grained Admin Permissions (FGAPv2) feature in Keycloak, unless it is absolutely necessary. This can usually be done by setting 'adminPermissionsEnabled' to 'false' in the realm configuration. After making this change, a restart or reload of the Keycloak service may be required for the changes to take effect.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:30049 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:30050 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:30083 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:30084 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-9795 | redhat-SADP | MitigationVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2482462 | redhat-SADP | Issue TrackingVendor Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:30049 | [email protected] | |
| https://access.redhat.com/errata/RHSA-2026:30050 | [email protected] | |
| https://access.redhat.com/errata/RHSA-2026:30083 | [email protected] | |
| https://access.redhat.com/errata/RHSA-2026:30084 | [email protected] | |
| https://access.redhat.com/security/cve/CVE-2026-9795 | [email protected] | MitigationVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2482462 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | redhat-SADP |
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat build of keycloak | All versions |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 3, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | New CVE Received | [email protected] |