Skip to content
OpenAdvisories
Medium · 6.0 CVE-2026-118666 EUVD-2026-112473GHSA-mp66-8ww2-pcwm

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

Published Oct 28, 2026 · Updated Nov 2, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
ardatan graphql-tools < 9.0.36 —
@graphql-tools executor-legacy-ws < 1.1.36 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @graphql-tools/executor-legacy-ws < 1.1.36 1.1.36 GHSA-mp66-8ww2-pcwm

References