CVE-2026-9795

Keycloak: keycloak: privilege escalation via improper scope mapping enforcement

HIGH
7.3
CVSS Score
Published: May 28, 2026 at 03:49 AM UTC
Updated: October 26, 2026 at 12:10 PM UTC
1 product affected across 1 vendorBuild of Keycloak

Using Red Hat Build of Keycloak by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Build of Keycloak - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.3
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions26.4
Vendor states this is fixed in 26.4-19 (unaffected)
Vendor states this is fixed in 26.4.13 (unaffected)
Vendor states this is fixed in 26.4.13-1 (unaffected)
Vendor states this is fixed in 26.6-8 (unaffected)
Vendor states this is fixed in 26.6.4 (unaffected)
Vendor states this is fixed in 26.6.4-2 (unaffected)

References (7)

VDB Entryx_refsource_REDHATMitigationVendor Advisory
Source: cverecord
https://access.redhat.com/security/cve/CVE-2026-9795
Issue Trackingx_refsource_REDHATVendor Advisory
Source: cverecord
https://bugzilla.redhat.com/show_bug.cgi?id=2482462
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:30083
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:30084
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:30049
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:30050

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.3HIGHredhat
Attack Vector
NETWORK
Complexity
HIGH
Privileges
HIGH
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-266

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card