CVE-2026-17059: Keycloak-services: keycloak-services: information disclosure via role-users endpoint bypasses per-user view filter
A flaw was found in the role-users endpoint of the keycloak-services library, which is the core component of the Keycloak identity and access management solution. The issue occurs because the system fails to check if an administrator has permission to view individual users when listing members of a role. This allows a restricted administrator to see private information, such as names and email addresses, for users they should not be able to access.
Other sources
A missing authorization filter flaw was found in Keycloaks role-users REST API endpoint. When an authenticated user with restricted administrative privileges such as query-users and view-realm requests the list of users assigned to a specific role via GET /admin/realms/{realm}/roles/{role-name}/users, the system returns the full representation of all member users. The root cause is that the RoleResource.getRoleUserMembers method verifies the callers permission to view the role but fails to apply the per-user view filter to the resulting list. This allows a delegated administrator to bypass intended access restrictions and perform unauthorized enumeration of user PII, including usernames, email addresses, and full names, for any user assigned to a role the administrator can view.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-17059?
The severity of CVE-2026-17059 is rated as medium with a score of 6.5.
How do I fix CVE-2026-17059?
To fix CVE-2026-17059, ensure that proper permission checks are implemented for the role-users endpoint in keycloak-services.
What type of vulnerability is CVE-2026-17059?
CVE-2026-17059 is an information disclosure vulnerability that can bypass per-user view filters.
Which software is affected by CVE-2026-17059?
CVE-2026-17059 affects the Keycloak keycloak-services library used in identity and access management.
Can CVE-2026-17059 be exploited remotely?
Yes, CVE-2026-17059 can be exploited remotely since it involves an endpoint that interacts with user data.