Keycloak-services: keycloak-services: fgap v2 composite-blind role mapping allows privilege escalation (Red Hat Red Hat Build of Keycloak)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % Β· percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Awaiting Analysis
Description
A flaw was found in the Fine-Grained Admin Permissions (FGAP v2) feature of Keycloak, an identity and access management solution. The issue occurs when the system checks if a delegated administrator has permission to assign a specific role to a user. Because the check does not look inside composite roles to see what other permissions they contain, an administrator with limited rights can assign a role that secretly includes full administrative control. This allows the attacker to gain complete management access over the entire realm.
Weaknesses (CWE)
- CWE-285 β Improper Authorization
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD Β· secalert@redhat.com (Secondary) |
European references
- ENISA EUVD Β· EUVD-2026-86588
- GCVE Β· GCVE-0-2026-96448
Affected products
| Product | Versions |
|---|---|
| Red Hat Β· Red Hat Build of Keycloak | |
| Red Hat Β· Red Hat Build of Keycloak | |
| Red Hat Β· Red Hat Single Sign-On 7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |