7.4High

CVE-2026-103921GraphQL Tools: TLS Certificate Validation Disabled in Legacy GraphQL WebSocket Executor

ardatan graphql-tools; @graphql-tools executor-legacy-ws Published: (1 month ago)

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.

Weakness (CWE): CWE-295

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ardatan graphql-tools < 1.1.35
@graphql-tools executor-legacy-ws < 1.1.35

References and patches