Improper Certificate Validation Affecting @graphql-tools/executor-legacy-ws package, versions <1.1.35


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (18th 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 IDSNYK-JS-GRAPHQLTOOLSEXECUTORLEGACYWS-20510283
  • published5 Oct 2026
  • disclosed1 Oct 2026
  • creditUnknown

Introduced: 1 Oct 2026

NewCVE-2026-103921  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade @graphql-tools/executor-legacy-ws to version 1.1.35 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 Improper Certificate Validation via a hardcoded rejectUnauthorized: false in buildWSLegacyExecutor, which unconditionally disables TLS certificate validation for all wss:// connections and cannot be overridden by callers. An attacker positioned between the client and the server can intercept or tamper with the WebSocket traffic by presenting an invalid or self-signed certificate that is silently accepted. This exposes the full contents of GraphQL subscription traffic to a MitM attacker, resulting in high confidentiality and integrity impact.

CVSS Base Scores

version 4.0
version 3.1