CVE-2026-9795
Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
- State
- Published
- Severity
- 7.3 High
- Published
- May 28, 2026
- Updated
- Jul 15, 2026
- Reserved
- May 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | redhat |
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | redhat-SADP |
Weaknesses
- CWE-266 Incorrect Privilege Assignment
Affected Products
| Product | Versions |
|---|---|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4.13Red Hat | |
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6.4Red Hat |
References
- RHSA-2026:30049vendor-advisory
- RHSA-2026:30050vendor-advisory
- RHSA-2026:30083vendor-advisory
- RHSA-2026:30084vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-9795vdb-entry
- RHBZ#2482462issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.