Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInduce victim to connect to malicious WebSocket URL
-
DeliveryComplete WebSocket upgrade handshake
-
ExploitStream continuation frames under per-frame limit
-
ExecutionBypass maxPayloadSize cumulative accounting
-
PersistExhaust client process heap
-
ImpactCrash Node.js process (denial of service)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim Node.js application to (1) use the undici WebSocket client (new WebSocket(...) from undici, or Node core's global WebSocket which is backed by undici) at versions 8.1.0 through 8.4.x, and (2) be induced to establish an outbound WebSocket connection to an endpoint the attacker controls or has compromised. The maxPayloadSize option must be in use for the accounting bug to be the binding limit, though the same fragmentation pattern can balloon memory regardless. Limiting factors: undici is a client, so the attacker cannot reach it directly across the internet - they must influence the destination URL (user-supplied input, SSRF-style coercion, DNS hijack, or compromise of an upstream WebSocket service); the 6.x and 7.x lines are entirely unaffected; no user interaction beyond the application initiating the connection is required. |
| Impact | The CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:H) accurately reflects an unauthenticated, network-reachable, low-complexity availability attack with no confidentiality or integrity impact. The realistic risk is meaningfully narrower than a 7.5 suggests because exploitation requires the victim client to be induced to connect to an attacker-controlled WebSocket endpoint - undici is a client library, not a listening server, so this is not a directly internet-exposed surface. EPSS, KEV status, SSVC framework data, and POC availability were not provided in the intelligence inputs; no public exploit identified at time of analysis and the vulnerability is not in CISA KEV. The threat is most acute for applications that allow user-supplied or third-party WebSocket URLs (webhooks, proxies, scrapers, federated services, AI/agent tooling that connects to external endpoints) where an attacker can steer the connection target. |
| Exploit ScenarioDerived | An application using undici's WebSocket client connects to an attacker-controlled or attacker-influenced WebSocket URL - for example a webhook target, an agentic AI tool consuming a user-supplied ws:// URL, or a federated service endpoint. The malicious server upgrades the connection and then streams an indefinite sequence of small continuation frames (each under maxPayloadSize) without ever sending the FIN bit, causing the client to accumulate fragments in memory until the Node.js process is OOM-killed. No public exploit identified at time of analysis, but the technique is trivial to implement against any standards-compliant WebSocket server library. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Denial-of-service in the undici WebSocket client (Node.js HTTP/WebSocket library) version 8.1.0 through versions prior to 8.5.0 allows a malicious or compromised WebSocket server to exhaust client memory by streaming many small fragmented frames that individually pass the per-frame maxPayloadSize check but cumulatively bypass any size limit. The flaw is a regression introduced in the 8.1.0 line; no public exploit identified at time of analysis. Impact is limited to availability (process crash via memory exhaustion) with no confidentiality or integrity consequence per the CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H vector.
RemediationAI
Vendor-released patch: undici 8.5.0 - upgrade the direct or transitive undici dependency to >= 8.5.0 per the maintainer advisory at https://github.com/nodejs/undici/security/advisories/GHSA-38rv-x7px-6hhq. The advisory explicitly states no workaround is available because the per-frame check cannot be reconfigured to enforce cumulative limits without the code fix; downgrading to 6.25.0 is an alternative for projects that can tolerate the older API surface, and migrating to the 7.x line is also unaffected. For applications that cannot upgrade immediately, the only meaningful compensating control is to restrict outbound WebSocket destinations via an egress allow-list or proxy so the client cannot be coerced into connecting to attacker-controlled endpoints - note this breaks any feature that legitimately consumes user-supplied WebSocket URLs. Process-level memory limits (container cgroup memory caps, Node's --max-old-space-size) will convert the exhaustion into a faster, more contained crash rather than preventing the DoS.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
undici is the official high-performance HTTP/1.1 and WebSocket client used by modern Node.js runtimes (and exposed via the built-in fetch and WebSocket globals). The WebSocket protocol (RFC 6455) permits a single logical message to be split across many continuation frames; the receiving implementation must buffer fragments until the FIN bit arrives. The maxPayloadSize option in undici was intended to bound this buffering, but the check was applied only to individual frame sizes rather than the running total of an in-progress fragmented message - a classic CWE-400 (Uncontrolled Resource Consumption) accounting bug. The 6.25.0 line shipped the cumulative check correctly and the 7.x line never had the maxPayloadSize feature, so the defect is isolated to the 8.x branch starting at 8.1.0. Affected CPE is cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:* covering all 8.1.0-8.4.x releases.
Know when Undici 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:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable malicious server, no authentication or user interaction on the client beyond initiating the connection, availability-only impact via memory exhaustion, no confidentiality or integrity effect.
Primary rating from Vendor (openjs).
CVSS VectorVendor: openjs
Lifecycle Timeline
1DescriptionCVE.org
Impact: The undici WebSocket client enforces maxPayloadSize per-frame but does not enforce the cumulative size of fragmented uncompressed messages. A malicious WebSocket server can stream many small fragments that each pass per-frame validation but collectively exceed the configured limit, causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service.
Affected applications are those using the undici WebSocket client (new WebSocket(...)) that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.
This is a regression specific to undici 8.1.0. The 6.25.0 line shipped the equivalent cumulative check from the start and is unaffected. The 7.x line never had the maxPayloadSize feature and is also unaffected.
Patches: Upgrade to undici >= 8.5.0.
Workarounds: No workaround is available. The fix must be applied through an upgrade.
Blast Radius
ecosystem impact- 2 npm packages depend on undici (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 8.0.0.
Executive ViewAI
CVE-2026-9675 affects undici, the Node.js WebSocket library, allowing unauthenticated attackers (malicious or compromised WebSocket servers) to crash client applications through memory exhaustion. Organizations running undici versions 8.1.0 through pre-8.5.0 risk production service outages when applications connect to external WebSocket endpoints. No vendor patch is currently available, requiring immediate interim controls.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict WebSocket client connections to trusted servers only; (2) Enforce per-process memory limits and connection timeouts at application/container level; (3) Disable WebSocket functionality for non-critical services; (4) Implement memory monitoring and alerting for anomalous process growth; (5) Monitor vendor advisories for patch release.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge
Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com
Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from
Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent
Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo
`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th
CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic
Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,
undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection
Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions
Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0
Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug
EUVD-2026-37752
GHSA-38rv-x7px-6hhq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB