Insufficient Session Expiration Affecting @graphql-tools/executor-legacy-ws package, versions <1.1.36


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.39% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GRAPHQLTOOLSEXECUTORLEGACYWS-21802761
  • published29 Oct 2026
  • disclosed28 Oct 2026
  • creditUnknown

Introduced: 28 Oct 2026

NewCVE-2026-118665  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade @graphql-tools/executor-legacy-ws to version 1.1.36 or higher.

Overview

@graphql-tools/executor-legacy-ws is an A set of utils for faster development of GraphQL tools

Affected versions of this package are vulnerable to Insufficient Session Expiration via the shared executorConnectionParams closure in buildWSLegacyExecutor, where connection parameters supplied by one caller via extensions.connectionParams are merged into a module-level object and never cleared between requests. A subsequent caller using the same executor instance inherits the previous caller's credentials, including bearer tokens, in the connection_init payload sent over the new WebSocket connection. Additionally, data frames are routed without checking the operation ID, so a later caller can receive subscription payloads intended for an earlier caller.

CVSS Base Scores

version 4.0
version 3.1