Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain MITM network position on wss:// path
-
DeliveryPresent attacker-controlled TLS certificate
-
ExploitNode.js client accepts cert (rejectUnauthorized:false)
-
ExecutionIntercept connectionParams/headers credentials
-
ImpactModify subscription data in transit
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires ALL of the following: (1) the application runs on Node.js (browser WebSocket clients are explicitly unaffected because browsers enforce certificate validation); (2) the app uses buildWSLegacyExecutor() directly OR url-loader configured with SubscriptionProtocol.LEGACY_WS - the default/modern graphql-ws path is not implicated; (3) connections use wss:// (TLS); and (4) the attacker holds an active man-in-the-middle position on the network path to intercept the connection and present a forged certificate. The MITM requirement is the dominant limiting factor and is why CVSS assigns AC:H. No authentication, user interaction, or non-default flag is needed on the victim side - the insecure rejectUnauthorized:false was the hardcoded default in versions prior to 1.1.35. |
| Impact | This is a legitimate but conditional risk, not a drive-by critical. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N = 7.4 High) accurately captures the shape of the flaw: no authentication is needed from the attacker (PR:N), but high attack complexity (AC:H) reflects the core prerequisite - the attacker must achieve a network man-in-the-middle position on the wss:// path, which is not something they fully control. The CWE-295 (improper certificate validation) root cause is confirmed by the vendor patch, which shows buildWSLegacyExecutor() hardcoded rejectUnauthorized:false. No EPSS score, KEV listing, or POC was provided in the input; therefore there is no public exploit identified at time of analysis and no evidence of active exploitation. The absence of EPSS/KEV data is not a contradiction here - it is simply missing enrichment, consistent with a recently disclosed library CVE. The real-world priority is moderate: the impact is serious where triggered (credential and subscription-data compromise), but exploitation depends both on a MITM foothold AND on the application using a specific legacy code path (see exploitation_conditions). This is best treated as a 'patch promptly if you use legacy WS subscriptions' issue rather than an internet-wide emergency. |
| Exploit ScenarioDerived | A developer's Node.js service uses graphql-tools url-loader with SubscriptionProtocol.LEGACY_WS to subscribe to a GraphQL endpoint over wss://. An attacker positioned on the network path (rogue Wi-Fi, compromised router, ARP/DNS spoofing on a shared segment) presents a self-signed or attacker-controlled TLS certificate; because rejectUnauthorized was hardcoded false, the client accepts it, letting the attacker read connectionParams/headers credentials and tamper with subscription payloads. No public exploit code was provided in the input, but the one-line nature of the flaw makes reproduction trivial for a positioned attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
TLS certificate validation is disabled by default in @graphql-tools/executor-legacy-ws prior to 1.1.35, where buildWSLegacyExecutor() hardcoded rejectUnauthorized: false, so Node.js applications using that executor directly or url-loader configured with SubscriptionProtocol.LEGACY_WS will blindly accept any certificate presented over wss://. An unauthenticated attacker who already holds a man-in-the-middle position on the network path can impersonate the GraphQL subscription endpoint, disclose authentication material carried in connectionParams or headers, and modify subscription data; the assessed CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, with the MITM prerequisite driving the High attack complexity. No public exploit code and no CISA KEV entry were identified at time of analysis, and browser WebSocket clients are unaffected because browsers independently enforce certificate validation.
RemediationAI
Upgrade to the vendor-released patch @graphql-tools/executor-legacy-ws 1.1.35 (and the corresponding @graphql-tools/url-loader patch from the same changeset), which flips the default to rejectUnauthorized: true and only permits an explicit opt-out; details are in GHSA-6fw5-9hq8-w87g (https://github.com/ardatan/graphql-tools/security/advisories/GHSA-6fw5-9hq8-w87g), PR https://github.com/ardatan/graphql-tools/pull/8426, commit https://github.com/ardatan/graphql-tools/commit/3831a0661514c91d99971052f983552556880402, and release https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/executor-legacy-ws@1.1.35. If immediate upgrade is not possible, explicitly pass rejectUnauthorized: true to buildWSLegacyExecutor() or to LoadFromUrlOptions when subscriptionsProtocol is LEGACY_WS - note this will break connections to endpoints with untrusted or self-signed certificates, which is the intended secure behavior. As further compensating controls, migrate legacy subscriptions off SubscriptionProtocol.LEGACY_WS to the modern graphql-ws protocol (trade-off: the subscription server must support the newer protocol), or restrict egress/network paths so client subscription traffic cannot be transparently intercepted, since the vulnerability is only exploitable by a network-positioned man-in-the-middle. Because secure-by-default verification will cause failures against self-signed endpoints, any deliberate opt-out should be limited to trusted local development and never used in production against remote wss:// endpoints.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-295 (Improper Certificate Validation) in the Node.js-only legacy GraphQL WebSocket executor shipped as @graphql-tools/executor-legacy-ws, which implements the older 'graphql-ws' / subscriptions-transport-ws style protocol (exposed as SubscriptionProtocol.LEGACY_WS). Node.js does not validate TLS certificates for the WebSocket layer automatically in this code path: the ws client is constructed with a TLS options object, and buildWSLegacyExecutor() hardcoded rejectUnauthorized: false, which maps to Node's tls.connect semantics and disables verification of the peer certificate chain and hostname. Consequently any certificate - self-signed, expired, or attacker-generated - is accepted, defeating the transport authentication guarantee that wss:// is expected to provide. The upstream fix in PR #8426 and commit 3831a0661514c91d99971052f983552556880402 changes the default to options?.rejectUnauthorized ?? true for the executor and adds an equivalent rejectUnauthorized option to LoadFromUrlOptions in @graphql-tools/url-loader, restoring secure-by-default behavior while allowing an explicit opt-out for trusted self-signed environments. Only Node.js clients were exposed; browser WebSocket implementations validate certificates regardless of this flag, which is why the advisory and the independent assessment both scope impact to server-side/Node consumers of the legacy executor.
Know when Graphql Tools gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
AC:H because a man-in-the-middle position is required; PR:N/UI:N as no victim credentials or interaction are needed; C:H/I:H for credential disclosure and subscription tampering, A:N as availability is unaffected.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-295 (Improper Certificate Validation).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
@graphql-tools/executor-legacy-ws ships with TLS certificate validation disabled, so Node.js services using the legacy WebSocket subscription executor will silently accept any certificate presented by a GraphQL endpoint. The practical effect is that any party already positioned on the network path can impersonate the subscription service, harvest authentication material carried in connection parameters and headers, and tamper with subscription data without credentials - an exposure that matters most for remote-workforce traffic, third-party networks, and shared cloud segments. No vendor-released patch has been identified at the time of analysis, and no public exploit code or confirmed active exploitation (CISA KEV) was identified, so this is currently a latent configuration weakness with a hard prerequisite rather than an active incident, but it requires code-level remediation and network containment rather than a routine update.
No vendor-released patch identified at time of analysis. Interim mitigations: explicitly override the hardcoded default by supplying an https.Agent with rejectUnauthorized: true (or a pinned CA bundle) to buildWSLegacyExecutor() and to url-loader where SubscriptionProtocol.LEGACY_WS is set; disable the LEGACY_WS protocol path entirely and use graphql-ws instead; enforce certificate pinning or mutual TLS on outbound WebSocket connections; restrict egress to known subscription endpoint IPs and ports and require VPN or trusted network paths for those calls; rotate credentials, tokens, and API keys transmitted via connectionParams or headers; and alert on GraphQL subscription endpoints presenting unexpected or self-signed certificates. Browser WebSocket clients are unaffected because browsers independently enforce certificate validation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Graphql Tools
View allThis affects the package @graphql-tools/git-loader before 6.2.6. Rated high severity (CVSS 8.8), this vulnerability is r
Stale authentication state in GraphQL Tools' legacy WebSocket executor lets a later caller inherit a previous caller's d
GraphQL Tools' legacy WebSocket executor (@graphql-tools/executor-legacy-ws, versions through 1.1.35) discloses subscrip
EUVD-2026-90922
GHSA-6fw5-9hq8-w87g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB