All vulnerabilities

npm

CVE-2026-118665

GraphQL Tools: Per-request connection parameters persist into later users' WebSocket authentications

Severity
High
Published
28 Oct 2026
Last changed
28 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.1.36
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Insufficient session expiration (CWE-613)
Also known as
GHSA-434m-5hcj-pxf3
Sources
OSV.dev and GitHub

Description

Version note: the originally recorded affected range was <= 1.1.33. Validation showed that range understates exposure — the same proof of concept leaks identically on 1.1.35.

buildWSLegacyExecutor keeps a single closure-scoped object, executorConnectionParams, for the lifetime of the executor. Every execution that carries request.extensions.connectionParams merges those keys into that object with Object.assign, and the object is merged into the connection_init payload each time a new WebSocket opens. Nothing ever removes keys: cleanupWebsocket terminates the socket and nulls the handle but leaves executorConnectionParams intact, and a later request that simply omits a key skips the conditional update entirely.

The consumer-side shape is a shared executor that forwards per-user credentials. When one long-lived executor serves multiple principals — the schema-stitching, gateway, or mesh pattern where each ExecutionRequest supplies its own extensions.connectionParams — a request that…

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
@graphql-tools/executor-legacy-wsnpm · osv:npm:@graphql-tools/executor-legacy-ws
  • Every version before 1.1.36

About @graphql-tools/executor-legacy-ws

Weekly downloads (npm)
12,192,268npm, 23 Nov 2026

Vulnerabilities in @graphql-tools/executor-legacy-ws

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for @graphql-tools/executor-legacy-ws

References