CVE-2026-118666

GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller

Published Oct 28, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to version 1.1.36 of the GraphQL Tools legacy WebSocket executor package, buildWSLegacyExecutor in packages/executors/legacy-ws/src/index.ts reuses one WebSocket and replaces its single websocket.onmessage handler whenever a new overlapping subscription starts. The handler delivers LEGACY_WS.DATA frames to the newest observer without comparing data.id with the subscription operation id, so a caller using the same executor can receive another user's authorized subscription payload while the earlier caller's stream is starved. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.

Analysis

AI-generated

Technical impact

A flaw in the GraphQL Tools legacy WebSocket executor causes it to reuse a single websocket.onmessage handler when new overlapping subscription requests are started. The handler forwards incoming LEGACY_WS.DATA frames directly to the most recent observer without verifying that the data.frame’s id matches the original subscription operation id. As a result, a subscriber can receive another user’s authorized subscription payload while the original subscription stream is stalled, enabling disclosure of protected data. This is a classic example of information disclosure (CWE-200).

Affected Systems

The issue affects applications that use @graphql-tools:executor-legacy-ws or ardatan:graphql-tools at any version prior to 1.1.36. The package release 1.1.36 introduces the fix that properly associates data frames with their subscription id; older versions have no hotfix.

Risk and Exploitability

The CVSS score of 6 indicates moderate severity. EPSS score is < 1%, indicating a very low but non-zero exploitation probability, and the flaw is not listed in the CISA KEV catalog. The likely attack vector is remote, inferred from the nature of WebSocket subscription requests; an attacker would need to set up overlapping subscription requests using the same executor instance to trigger the flaw. If successful, the attacker can access subscription payloads not intended for them, resulting in unauthorized data leakage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the GraphQL Tools legacy WebSocket executor to version 1.1.36 or later.
  • Restrict or isolate subscription requests so that each executor instance handles only a single active subscription to avoid overlapping sessions.
  • Insert a runtime validation that compares incoming data.id with the subscription id before relaying payloads, as a temporary workaround.

Generated by OpenCVE AI on November 6, 2026 at 02:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mp66-8ww2-pcwm GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller
History
Type Values Removed Values Added
Weaknesses CWE-488
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ardatan
Ardatan executor-legacy-ws
Ardatan graphql-tools
Vendors & Products Ardatan
Ardatan executor-legacy-ws
Ardatan graphql-tools
Type Values Removed Values Added
Description GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to version 1.1.36 of the GraphQL Tools legacy WebSocket executor package, buildWSLegacyExecutor in packages/executors/legacy-ws/src/index.ts reuses one WebSocket and replaces its single websocket.onmessage handler whenever a new overlapping subscription starts. The handler delivers LEGACY_WS.DATA frames to the newest observer without comparing data.id with the subscription operation id, so a caller using the same executor can receive another user's authorized subscription payload while the earlier caller's stream is starved. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.
Title GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-488

    Exposure of Data Element to Wrong Session

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 2, 2026, 11:58 PM
Reserved
Oct 28, 2026, 5:25 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 9:16 PM
Modified
Nov 3, 2026, 12:17 AM
Severity
Moderate
Public date
Oct 28, 2026, 8:45 PM