Incorrect Privilege Assignment Affecting keycloak-25 package, versions <25.0.6+e1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.49% (40th 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-ECHOLATEST-KEYCLOAK25-19435062
  • published31 Aug 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 Echo:latest keycloak-25 to version 25.0.6+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-25 package and not the keycloak-25 package as distributed by Echo. See How to fix? for Echo: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