CVE-2026-9795Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
Updated under an hour ago ()
Does this affect you?
It affects Red Hat build of Keycloak 26.4 and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.3 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
- Weakness (CWE)
- CWE-266
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Jul 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat build of Keycloak 26.4 redhat:build_keycloak | from 26.4.13-1 not affected | CNA record |
Red Hat Red Hat build of Keycloak 26.4 redhat:build_keycloak | from 26.4.13-1 not affected | CISA ADP |
redhat build_of_keycloak redhat:build_of_keycloak | all versions | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:30049vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:30050vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:30083vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:30084vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-9795vdb-entry, x-refsource-redhat, mitigation, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482462issue-tracking, x-refsource-redhat, vendor-advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.