7.3High

CVE-2026-9795Keycloak: keycloak: privilege escalation via improper scope mapping enforcement

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 Published: (5 months ago)

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.

Weakness (CWE): CWE-266

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*