CVE-2026-9795CWE-266

Keycloak: keycloak: privilege escalation via improper scope mapping enforcement

High · published May 28, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
41.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00492 · 41.4th percentile
Weakness
CWE-266 · Incorrect Privilege Assignment
Published
2026-05-28T03:49Z
EPSS history
Timeline
  • 28 MAY 03:49Z
    Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
    cvelistv5