CVE-2026-118666 · GHSA-mp66-8ww2-pcwm
GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller
- Risk score
- 46/100
- CVSS
- 6.0 v4.0
- Published
- 28 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 n…
- Affected
- @graphql-tools/executor-legacy-ws (npm) <= 1.1.35
- Fix
- Upgrade @graphql-tools/executor-legacy-ws to 1.1.36 or later.
- Exploitation
- Public proof of concept
Story map
At a glance
@graphql-tools/executor-legacy-ws: Amber, patch this week. GraphQL Tools' legacy WebSocket executor package has a vulnerability where per-request connection parameters persist into later users' WebSocket authentications, allowing an attacker to authenticate as an earlier user. This can be exploited by sending an earlier caller's Authorization or tenant value in the connection_init payload.
The flaws
- CVE-2026-118666: GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller (CVSS 6.0)
- CVE-2026-118665: GraphQL Tools: Per-request connection parameters persist into later users' WebSocket authentications (CVSS 8.2)
- CVE-2026-103921: GraphQL Tools: TLS Certificate Validation Disabled in Legacy GraphQL WebSocket Executor (CVSS 7.4 · EPSS 0%)
The fix
Upgrade @graphql-tools/executor-legacy-ws: 1.1.36 · 1.1.35 or later on your release line
Who is exposed: {'products': ['GraphQL Tools'], 'packages': ['@graphql-tools/executor-legacy-ws'], 'versions': ['<= 1.1.35']}
Where it stands
- Public proof of concept
Connects to
- Same weakness: Information disclosure (CWE-200). 290 other warnings in 30 days
Why it is Yellow
- CVSS 6.0 medium
- Public exploit or proof of concept referenced
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| @graphql-tools/executor-legacy-ws | npm | <= 1.1.35 | 1.1.36 |
References
- https://github.com/advisories/GHSA-mp66-8ww2-pcwm
- 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/executor-legacy-ws@1.1.36
- https://github.com/advisories/GHSA-mp66-8ww2-pcwm
Original 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.
Last activity 28 Oct 2026. Patch Forecast updates every hour.