Skip to main content

undici CVE-2026-9675

| EUVDEUVD-2026-37752 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-06-17 openjs GHSA-38rv-x7px-6hhq
7.5
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

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

  1. Access
    Induce victim to connect to malicious WebSocket URL
  2. Delivery
    Complete WebSocket upgrade handshake
  3. Exploit
    Stream continuation frames under per-frame limit
  4. Execution
    Bypass maxPayloadSize cumulative accounting
  5. Persist
    Exhaust client process heap
  6. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 – 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

undici 8.0.0 <8.5.0

Affected Packages

npm undici fix: 8.5.0

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

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

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.

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

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

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

Lifecycle Timeline

1
Patch available
Jun 18, 2026 - 17:02 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on undici (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 8.0.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.3%
Top 80% exploitable
Threat Intel
1
1 sources
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor 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 No
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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Undici

View all
CVE-2022-35949 CRITICAL POC
9.8 Aug 12

undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge

CVE-2026-12151 HIGH POC
7.5 Jun 17

Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com

CVE-2026-14643 HIGH POC
7.5 Jul 29

Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from

CVE-2026-16729 MEDIUM POC
6.5 Jul 29

Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent

CVE-2022-31151 MEDIUM POC
6.5 Jul 21

Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo

CVE-2022-32210 MEDIUM POC
6.5 Jul 14

`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th

CVE-2026-15157 MEDIUM POC
5.4 Jul 29

CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic

CVE-2023-23936 MEDIUM POC
5.4 Feb 16

Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,

CVE-2022-35948 MEDIUM POC
5.3 Aug 15

undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection

CVE-2026-13697 CRITICAL
9.1 Jul 29

Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions

CVE-2026-109383 CRITICAL POC
9.1 Oct 15

Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0

CVE-2026-109829 CRITICAL POC
9.1 Oct 15

Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug

Vendor StatusVendor

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