Vulnerability · Published Oct 1, 2026 · Assigned by GitHub_M
CVE-2026-103921GraphQL Tools: TLS Certificate Validation Disabled in Legacy GraphQL WebSocket Executor
High 7.4
In plain English
A high-severity improper certificate validation in graphql-tools from ardatan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to 1.1.35, the executor-legacy-ws buildWSLegacyExecutor() function hardcodes TLS certificate rejection off for Node.js connections to wss:// endpoints. Applications using the executor directly, or url-loader with SubscriptionProtocol.LEGACY_WS, can therefore accept an attacker-controlled certificate when a network-positioned attacker intercepts the connection. Authentication material in connectionParams or headers can be disclosed, and subscription data can be modified. Browser WebSocket clients are unaffected because browsers enforce certificate validation. This issue is fixed in version 1.1.35.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @graphql-tools/executor-legacy-ws | 1.1.35 | GHSA-6fw5-9hq8-w87g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ardatan | graphql-tools | < 1.1.35 |
| @graphql-tools | executor-legacy-ws | < 1.1.35 |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-6fw5-9hq8-w87g x_refsource_CONFIRM
- https://github.com/ardatan/graphql-tools/pull/8426 x_refsource_MISC
- https://github.com/ardatan/graphql-tools/commit/3831a0661514c91d99971052f983552556880402 x_refsource_MISC
- https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/executor-legacy-ws@1.1.35 x_refsource_MISC