high

CVE-2026-9795

Maven · org.keycloak:keycloak-services

Summary

Keycloak has privilege escalation via improper scope mapping enforcement

Severity
high
CVSS
7.3
EPSS
0.4% (p29)
CWE
CWE-266
Also known as
GHSA-32h4-44jj-c5vx
Published
2026-07-01
Updated
2026-07-01

Advisory details

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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.