Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
1Blast Radius
ecosystem impact- 61 maven packages depend on org.keycloak:keycloak-services (28 direct, 33 indirect)
Ecosystem-wide dependent count for version 26.6.2.
DescriptionCVE.org
A flaw was found in Keycloak. A low-privilege administrator with the 'view-clients' role can exploit this by invoking the 'evaluate-scopes' Admin API endpoints with an arbitrary user ID (userId) parameter. This vulnerability allows for cross-role personally identifiable information (PII) leakage, enabling unauthorized visibility into user identities and authorizations across the realm. Exploitation is possible remotely via network access to the Admin API.
AnalysisAI
Unauthorized PII disclosure in Red Hat Build of Keycloak allows a low-privilege administrator holding only the 'view-clients' role to enumerate user identities and authorization grants across the entire realm by invoking the 'evaluate-scopes' Admin API endpoint with an arbitrary userId parameter. The vulnerability is an Insecure Direct Object Reference (CWE-639) in the Admin API layer, exploitable remotely over the network without requiring additional user interaction. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, though the low attack complexity and clear abuse path make targeted insider or compromised-credential scenarios a realistic concern.
Technical ContextAI
Keycloak's Admin REST API exposes an 'evaluate-scopes' endpoint designed to allow administrators to inspect the effective OAuth/OIDC scopes and claims for a given user-client pairing. The underlying flaw (CWE-639: Authorization Bypass Through User-Controlled Key) occurs because the API accepts a caller-supplied userId parameter without enforcing that the invoking principal's role permissions are scoped to that specific user or are sufficient to view cross-user identity data. A 'view-clients' role is a read-only, limited administrative role in Keycloak's fine-grained Admin permissions model - it is not intended to grant visibility into arbitrary users' identity attributes or authorization state. The CPE string cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:* indicates the wildcard version range affects all tracked releases of the Red Hat Build of Keycloak product line. The CVSS vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N confirms the vulnerability is network-reachable, requires no interaction, and produces high confidentiality impact with no integrity or availability consequences.
RemediationAI
No specific patched version number is confirmed in the available data; affected version boundaries and the fix release should be verified directly via the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-37978. Until a patch is applied, organizations should take the following specific compensating actions: audit and revoke unnecessary assignments of the 'view-clients' role across all realms, restricting it to accounts where it is operationally required; restrict network access to Keycloak's Admin API (typically /auth/admin/* or /admin/*) to trusted internal networks or management VLANs, blocking exposure from internet-facing or broadly accessible network segments; enable Keycloak's Admin API event logging to detect anomalous evaluate-scopes calls with varying userId parameters as an indicator of abuse; and review service accounts and CI/CD credentials that may hold the 'view-clients' role to ensure they are not over-provisioned. Note that restricting Admin API network access may impact legitimate administrative tooling and should be tested in non-production environments first.
More in Red Hat Build Of Keycloak
View allAuthorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus
Identity linking bypass in Red Hat build of Keycloak allows an attacker controlling a second account on the same upstrea
Authenticated users with uma_protection role in Red Hat Keycloak can bypass User-Managed Access policy validation to gai
Privilege escalation in Keycloak (Red Hat Build of Keycloak) lets an authenticated delegated admin with management right
Denial of service in Red Hat build of Keycloak allows remote unauthenticated attackers to exhaust CPU and worker threads
Denial of Service in Red Hat Build of Keycloak allows unauthenticated remote attackers to exhaust server resources by su
Session fixation in Keycloak's login-actions endpoints allows remote attackers to hijack authenticated sessions and take
Authorization code forgery in Red Hat Keycloak enables unauthenticated attackers to escalate privileges to admin-level a
Stored Cross-Site Scripting in Red Hat Build of Keycloak lets an authenticated administrator with `manage-client` permis
Open redirect in Red Hat Build of Keycloak allows authenticated attackers with control over another path on the same web
Same technique Authentication Bypass
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30882
GHSA-rrv7-3mqf-hxfr