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

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
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-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-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-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

CVE-2026-9087 HIGH
8.1 May 20

Identity linking bypass in Red Hat build of Keycloak allows an attacker controlling a second account on the same upstrea

CVE-2026-4636 HIGH
8.1 Apr 02

Authenticated users with uma_protection role in Red Hat Keycloak can bypass User-Managed Access policy validation to gai

CVE-2026-9099 HIGH
7.7 Jun 25

Privilege escalation in Keycloak (Red Hat Build of Keycloak) lets an authenticated delegated admin with management right

CVE-2026-7307 HIGH
7.5 May 19

Denial of service in Red Hat build of Keycloak allows remote unauthenticated attackers to exhaust CPU and worker threads

CVE-2026-4634 HIGH
7.5 Apr 02

Denial of Service in Red Hat Build of Keycloak allows unauthenticated remote attackers to exhaust server resources by su

CVE-2026-7507 HIGH
7.5 May 19

Session fixation in Keycloak's login-actions endpoints allows remote attackers to hijack authenticated sessions and take

CVE-2026-4282 HIGH
7.4 Apr 02

Authorization code forgery in Red Hat Keycloak enables unauthenticated attackers to escalate privileges to admin-level a

CVE-2026-9086 HIGH
7.3 Jun 25

Stored Cross-Site Scripting in Red Hat Build of Keycloak lets an authenticated administrator with `manage-client` permis

CVE-2026-3872 HIGH
7.3 Apr 02

Open redirect in Red Hat Build of Keycloak allows authenticated attackers with control over another path on the same web

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