Incorrect Privilege Assignment Affecting keycloak-advanced-compat package, versions <26.6.4-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-KEYCLOAKADVANCEDCOMPAT-17805286
  • published3 Jul 2026
  • disclosed28 May 2026

Introduced: 28 May 2026

CVE-2026-9795  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade Minimos:latest keycloak-advanced-compat to version 26.6.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-advanced-compat package and not the keycloak-advanced-compat package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1