CVE-2026-9795 json
Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
published 5mo ago modified 16d ago also GHSA-32h4-44jj-c5vx , EUVD-2026-32710
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.keycloak:keycloak-services 26.6.4
- Red Hat Red Hat build of Keycloak 26.4 26.4-19, 26.4.13-1
- Red Hat Red Hat build of Keycloak 26.6 26.6-8, 26.6.4-2
- github.com/keycloak/keycloak@8894c02 commit
- github.com/keycloak/keycloak#50451 pull request
Is CVE-2026-9795 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-9795 updated cvss 7.3
keycloak: Keycloak: Privilege escalation via improper scope mapping enforcement
-
Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9 26.4-19, rhbk/keycloak-rhel9-operator 26.4-19, rhbk/keycloak-operator-bundle 26.4.13-1fixed: vendor fix RHSA-2026:30050
-
Red Hat build of Keycloak 26.4.13fixed: vendor fix RHSA-2026:30049
-
Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9 26.6-8, rhbk/keycloak-rhel9-operator 26.6-8, rhbk/keycloak-operator-bundle 26.6.4-2fixed: vendor fix RHSA-2026:30084
-
Red Hat build of Keycloak 26.6.4fixed: vendor fix RHSA-2026:30083
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
| CISA ADP | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <26.6.4 |
26.6.4 |
Affected products
- Red Hat Red Hat build of Keycloak 26.4
- Red Hat Red Hat build of Keycloak 26.4.13
- Red Hat Red Hat build of Keycloak 26.6
- Red Hat Red Hat build of Keycloak 26.6.4
Classification
- Weakness
-
- CWE-266 Incorrect Privilege Assignment
References
-
github.com
/keycloak/keycloak/pull/50451
web
-
github.com
/keycloak/keycloak/commit/8894c027e788904c740ff9a1a60fcfaa34a10d13
web
-
access.redhat.com
/errata/RHSA-2026:30049
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:30050
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:30083
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:30084
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2026-9795
vdb-entry, web, mitigation, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2482462
issue-tracking, web, vendor-advisory
-
security.access.redhat.com
/data/csaf/v2/vex/2026/cve-2026-9795.json
web
-
github.com
/keycloak/keycloak/security/advisories/GHSA-32h4-44jj-c5vx
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-9795
advisory
-
github.com
/keycloak/keycloak/issues/50350
web
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2026-9795
- GitHub Advisory GHSA-32h4-44jj-c5vx
- NVD CVE-2026-9795
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.