Keycloak Broken Access Control Vulnerability in User Lookup Endpoint Allows PII Harvesting

Vulnerability

A broken access control vulnerability has been identified in Keycloak's Account Resources user lookup endpoint. This flaw allows remote authenticated users who own at least one User-Managed Access (UMA) resource to enumerate and collect personally identifiable information (PII) from all users within the same realm. By sending tailored requests with specific usernames or email addresses, the endpoint inadvertently discloses full profile information, including ID, username, name, email, and status, for unrelated users. This vulnerability leads to a significant breach of profile-level information confidentiality.

Impact

Exploitation of this vulnerability allows for unauthorized access to and disclosure of personal identifiable information (PII) for all users within a Keycloak realm, bypassing access controls and privacy safeguards.

Reproduction

To reproduce this vulnerability, an authenticated user with at least one User-Managed Access (UMA) resource must send requests to the Account Resources user lookup endpoint. These requests should include arbitrary usernames or email values. The endpoint will respond with full profile objects for users unrelated to the authenticated user, thereby disclosing personal identifiable information (PII) such as ID, username, name, email, and status.

Added: May 19, 2026, 12:28 PM
Updated: May 19, 2026, 12:28 PM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
2.5
exploitability
5.3
remediation
0.0
relevance
8.8
threat
1.6
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.