Authorization Bypass Through User-Controlled Key Affecting org.keycloak:keycloak-services package, versions [12.0.0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (11th 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 Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-18752090
  • published13 Aug 2026
  • disclosed24 Jul 2026
  • creditOrionexe

Introduced: 24 Jul 2026

NewCVE-2026-17059  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the getRoleUserMembers path in RoleContainerResource in the keycloak-services admin API. An attacker can expose private user details by sending a GET /admin/realms/{realm}/roles/{role-name}/users request from a restricted admin account with permission to view the role but not individual users. The endpoint returns the full representation of role members without applying the per-user view filter, so user PII such as names and email addresses is disclosed for accounts the caller is not authorized to access.

CVSS Base Scores

version 4.0
version 3.1