Skip to main content

Red Hat Keycloak CVE-2026-37978

| EUVDEUVD-2026-30882 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-19 redhat GHSA-rrv7-3mqf-hxfr
4.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Red Hat
4.9 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Analysis Generated
May 19, 2026 - 12:01 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

CVE-2026-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

Vendor StatusVendor

Share

CVE-2026-37978 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy