Vulnerability
CVE-2026-9795
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.
49 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-23rc-6f8g-qw94
- CGA-256p-8rp9-c9g8
- CGA-26gp-pqvg-8pjp
- CGA-2f7r-vgwx-x6fc
- CGA-3gqx-h7fp-w7c5
- CGA-3wp4-c5ww-8r8v
- CGA-4cw8-2h3p-38rm
- CGA-4mmc-225j-grxf
- CGA-56rp-p5cg-m2p7
- CGA-5c5j-gpwp-rp2x
- CGA-5wm5-qv4r-fv4w
- CGA-63r5-6wgg-cx62
- CGA-69fp-8ppp-rxh8
- CGA-6r9c-h68x-5pmp
- CGA-6wch-46c7-fhm8
- CGA-7fx4-qcvq-p674
- CGA-8hf7-q7r6-4jxc
- CGA-8q98-fc38-73q2
- CGA-9g49-hjm9-3f2m
- CGA-9pqm-p27j-7qq2
- CGA-9q98-6g5m-394j
- CGA-cpqm-ccq7-r3gr
- CGA-gchc-978r-f84c
- CGA-gfv9-c56q-c8w4
- CGA-gjjh-cf3g-946r
- CGA-hmw7-xg9m-jmm7
- CGA-hp38-hpqv-97m3
- CGA-hww3-65gw-v554
- CGA-m7h4-49f7-hr8p
- CGA-mjww-wf5f-hjxh
- CGA-p287-4x9x-4qx3
- CGA-p65x-g5cg-w6ff
- CGA-p67v-mfjv-j8rh
- CGA-pw78-mvpq-9g67
- CGA-qqrv-gcj3-q99v
- CGA-rf6f-v24j-q7q9
- CGA-rf97-w2hh-93px
- CGA-rgr9-mhvp-9853
- CGA-rh2c-4x7v-4rj2
- CGA-vp29-vp3q-qpv9
- CGA-w7p7-48jj-pfj5
- CGA-wfhm-9744-7xpr
- CGA-wfxh-5xxm-764q
- CGA-x48j-p6c2-mrgw
- CGA-x8p2-2ph3-w3v9
- CGA-x9rf-mp92-53hq
- CGA-xf5c-v8jp-h9gr
- CGA-xmr4-px58-gvfm
-
GHSA-32h4-44jj-c5vx
Keycloak has privilege escalation via improper scope mapping enforcement
References
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/errata/RHSA-2026:30083
- https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/security/cve/CVE-2026-9795
- https://bugzilla.redhat.com/show_bug.cgi?id=2482462
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json