Skip to content

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

HighCVSS 8.2 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
graphql-tools executor-legacy-ws(npm) < 1.1.36; <= 1.1.35 1.1.36 Fixed
ardatan graphql-tools = < 9.0.36 No fix listed Versions listed
graphql-tools executor-legacy-ws = < 1.1.36 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ardatan graphql-tools = < 9.0.36 No fix listed
graphql-tools executor-legacy-ws = < 1.1.36 No fix listed
graphql-tools executor-legacy-ws(npm) <= 1.1.35 No fix listed
graphql-tools executor-legacy-ws(npm) < 1.1.36 1.1.36

References