← All Advisories
Reported from OT-Advisories.com as of

Keycloak Fine-Grained Admin Permissions Let a Limited Administrator Inject Any Realm Role Into Client Scope, Projecting Elevated Privileges Into User Tokens

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-9795

Key Details

CVECVE-2026-9795
CVSS Score / Version
7.3 (High) / CVSS v3.1
Updated2026-10-26
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
CVSS Prose
attack vector is network; attack complexity is high; privileges required is high; user interaction is required; scope is changed; confidentiality impact is high; integrity impact is high; availability impact is none.
Affected products
Red Hat build of Keycloak 26.6, Red Hat Build of Keycloak, and Red Hat build of Keycloak 26.4
Classified as
CWE-266 (Incorrect Privilege Assignment)
Exploitation prediction (EPSS)
0.35% probability of exploitation in the next 30 days (30% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat build of Keycloak 26.6
Red HatRed Hat Build of Keycloak
Red HatRed Hat build of Keycloak 26.4
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-9795
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-9795
Vendor advisoryhttps://access.redhat.com/security/cve/CVE-2026-9795
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:30049
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:30050
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:30083
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:30084
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.