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

Status: published. Published: 2026-10-28. Updated: 2026-11-03.

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.

## Remediation

- fix: @graphql-tools/executor-legacy-ws (npm): OSV reports a fixed version 1.1.36. Check the advisory for supported release branches. (source: OSV GHSA-434m-5hcj-pxf3) — https://github.com/advisories/GHSA-434m-5hcj-pxf3

## Affected products and versions

- ardatan / graphql-tools: < 9.0.36 (affected). Source: CNA: GitHub_M
- @graphql-tools / executor-legacy-ws: < 1.1.36 (affected). Source: CNA: GitHub_M
-  / @graphql-tools/executor-legacy-ws (@graphql-tools/executor-legacy-ws): ≥ 0; < 1.1.36 (affected, semver); OSV events: introduced 0; fixed 1.1.36. Source: OSV GHSA-434m-5hcj-pxf3

## Severity and prioritization

- 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.39% as of 2026-11-02; percentile 32.90%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-613

## Exploit evidence

- exploit: https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3 (ADP: CISA-ADP)

## References

- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/ardatan/graphql-tools/pull/8480 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458b (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/executor-legacy-ws@1.1.36 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3 (ADP: CISA-ADP; exploit)

- https://github.com/advisories/GHSA-434m-5hcj-pxf3 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-434m-5hcj-pxf3 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-118665; retrieved 2026-11-03; source updated 2026-11-03

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-434m-5hcj-pxf3; retrieved 2026-11-03; source updated 2026-10-28

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-118665; retrieved 2026-11-03; source updated Not reported

Revision: 572b30bd14e4801122577b4754849690b1567236d19c14aa2eeaee4192bf06dc

Canonical: https://y2.dev/cve/CVE-2026-118665

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.