Skip to main content

GraphQL Tools EUVDEUVD-2026-90922

| CVE-2026-103921 HIGH
Improper Certificate Validation (CWE-295)
2026-10-01 GitHub_M GHSA-6fw5-9hq8-w87g
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain MITM network position on wss:// path
  2. Delivery
    Present attacker-controlled TLS certificate
  3. Exploit
    Node.js client accepts cert (rejectUnauthorized:false)
  4. Execution
    Intercept connectionParams/headers credentials
  5. Impact
    Modify 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

executor-legacy-ws < 1.1.35
graphql-tools < 1.1.35

Affected Packages

npm @graphql-tools/executor-legacy-ws fix: 1.1.35
euvd executor_legacy_ws fix: 1.1.35
euvd graphql_tools fix: 1.1.35

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

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Oct 01, 2026 - 17:17 EUVD
CVE Published
Oct 01, 2026 - 16:32 cve.org
HIGH 7.4

DescriptionCVE.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.

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

Why It Matters

@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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
graphql-tools is popular, but only the opt-in legacy-ws subscription path is affected
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy