# CVE-2026-118665: GraphQL Tools: Per-request connection parameters persist into later users' WebSocket authentications

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/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.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-28T20:41:47.228Z
- Modified: 2026-11-03T14:17:32.070Z
- Also known as: GHSA-434m-5hcj-pxf3
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, 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 retains request.extensions.connectionParams in the closure-scoped executorConnectionParams object after cleanupWebsocket closes a connection. When one executor is reused across different authorization contexts, a later request that omits a sensitive key can send an earlier caller's Authorization or tenant value in its connection_init payload, causing the downstream server to authenticate the later caller as the earlier user. Applications that create a new executor for every request are not affected. 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 8.2 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3> (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-118665](https://www.cve.org/CVERecord?id=CVE-2026-118665), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-434m-5hcj-pxf3](https://github.com/advisories/GHSA-434m-5hcj-pxf3), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-118665](https://nvd.nist.gov/vuln/detail/CVE-2026-118665), Public domain, modified 2026-11-03

---

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