CVE-2026-118665
GraphQL Tools: Per-request connection parameters persist into later users' WebSocket authentications
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.
Fixes and workarounds
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-pxf3Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| graphql-tools ardatan |
< 9.0.36 (affected) | CNA: GitHub_M |
| executor-legacy-ws @graphql-tools |
< 1.1.36 (affected) | CNA: GitHub_M |
@graphql-tools/executor-legacy-ws@graphql-tools/executor-legacy-ws
npm |
≥ 0; < 1.1.36 (affected, semver); OSV events: introduced 0; fixed 1.1.36Source events (semver)
Other versions: unaffected |
OSV GHSA-434m-5hcj-pxf3 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 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 | CNA: GitHub_M |
Exploit evidence
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3
exploit · ADP: CISA-ADP
References
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/ardatan/graphql-tools/pull/8480CNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458bCNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]CNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3ADP: CISA-ADP · exploit
- https://github.com/advisories/GHSA-434m-5hcj-pxf3OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-434m-5hcj-pxf3OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.