CVE-2026-17059
Received Received - Intake

Role Permission Bypass in Keycloak Services

Vulnerability report for CVE-2026-17059, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-24

Last updated on: 2026-07-24

Assigner: Red Hat, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-24
Last Modified
2026-07-24
Generated
2026-07-24
AI Q&A
2026-07-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
keycloak keycloak_services *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a missing authorization filter flaw in Keycloak's role-users REST API endpoint. It allows a restricted administrator with certain privileges to view private user information like names and email addresses of users they should not have access to. The issue occurs because the system checks if the administrator can view the role but fails to filter which users they can see.

Detection Guidance

To detect this vulnerability, check Keycloak logs for suspicious requests to the /admin/realms/{realm}/roles/{role-name}/users endpoint by non-admin users. Monitor for unauthorized enumeration of user PII such as usernames, emails, or full names. Use network traffic analysis to identify repeated or unusual queries to this endpoint.

Impact Analysis

If you are a Keycloak user, this vulnerability could allow unauthorized individuals with limited admin rights to access and enumerate personally identifiable information of other users. This includes names, email addresses, and usernames, potentially leading to privacy breaches or further attacks.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR and HIPAA by exposing personally identifiable information without proper authorization. GDPR requires strict access controls for personal data, while HIPAA mandates safeguards for protected health information. The flaw undermines these requirements.

Mitigation Strategies

Apply the latest Keycloak patch or update to fix the missing authorization filter. Temporarily restrict access to the role-users endpoint by modifying firewall rules or API gateways to limit exposure. Review and audit all role-user membership queries in logs to identify potential exploitation attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-17059. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart