CVE-2026-17059: Keycloak-services: keycloak-services: information disclosure via role-users endpoint bypasses per-user view filter

Published Jul 24, 2026
·
Updated

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

1 affected component
Keycloak keycloak-services

Event History

Jul 24, 2026
Data Sourced
via Red Hat·01:38 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·02:06 PM
Data Sourced
via MITRE·02:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-17059?

The severity of CVE-2026-17059 is rated as medium with a score of 6.5.

2

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.

3

What type of vulnerability is CVE-2026-17059?

CVE-2026-17059 is an information disclosure vulnerability that can bypass per-user view filters.

4

Which software is affected by CVE-2026-17059?

CVE-2026-17059 affects the Keycloak keycloak-services library used in identity and access management.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203