# CVE-2026-118666: GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-28T20:45:58.056Z
- Modified: 2026-11-03T00:17:18.020Z
- Also known as: GHSA-mp66-8ww2-pcwm
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- ardatan graphql-tools: < 9.0.36
- @graphql-tools executor-legacy-ws: < 1.1.36
- @graphql-tools/executor-legacy-ws (npm): before 1.1.36

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/ardatan/graphql-tools/security/advisories/GHSA-mp66-8ww2-pcwm> (exploit, web)
- <https://github.com/ardatan/graphql-tools/pull/8480> (web)
- <https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458b> (web)
- <https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/executor-legacy-ws@1.1.36> (web)
- <https://github.com/ardatan/graphql-tools> (package)

## Sources

- CVE List: [CVE-2026-118666](https://www.cve.org/CVERecord?id=CVE-2026-118666), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-mp66-8ww2-pcwm](https://github.com/advisories/GHSA-mp66-8ww2-pcwm), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-118666](https://nvd.nist.gov/vuln/detail/CVE-2026-118666), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118666 · Whole record: https://cve.day/CVE-2026-118666.json · Rebuilt by cve.day 2026-11-25T22:59:47.694Z
