REDHAT-BUG-2506746: Medium severity Keycloak Keycloak vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2506746?
The severity of REDHAT-BUG-2506746 is classified as medium.
What vulnerability does REDHAT-BUG-2506746 describe?
REDHAT-BUG-2506746 describes a missing authorization filter flaw in Keycloak's role-users REST API.
How do I fix REDHAT-BUG-2506746?
To fix REDHAT-BUG-2506746, implement proper authorization checks for the affected REST API endpoint.
Who is affected by REDHAT-BUG-2506746?
Authenticated users with restricted administrative privileges in Keycloak may be affected by REDHAT-BUG-2506746.
What software is impacted by REDHAT-BUG-2506746?
REDHAT-BUG-2506746 impacts Keycloak's role-users REST API functionality.