CVE-2026-118666
CVE-2026-118666 · GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.0 · Medium · EPSS 0.3% · Public exploit · Fix available
- Published
- Updated
Stack: node
Affected products and versions
graphql-tools
- Versions
- < 9.0.36: Affected
No fix published
executor-legacy-ws
- Versions
- < 1.1.36: Affected
No fix published
@graphql-tools/executor-legacy-ws npm
- Affected ranges
- SEMVER: < 1.1.36
Update to 1.1.36
Original sources
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-mp66-8ww2-pcwm
- https://github.com/ardatan/graphql-tools/pull/8480
- https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458b
- https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]
- https://nvd.nist.gov/vuln/detail/CVE-2026-118666