Skip to main content

undici EUVDEUVD-2026-102347

| CVE-2026-87029 HIGH
Uncaught Exception (CWE-248)
2026-10-15 openjs GHSA-55wc-3pg8-jfw6
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Client connects to malicious/compromised HTTP server
  2. Delivery
    Server returns tiny compressed body (decompression bomb)
  3. Exploit
    Decompress interceptor expands body past configured limit
  4. Execution
    Downstream handler throws from zlib callback
  5. Impact
    Uncaught exception terminates Node.js process (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Exploitation requires that the victim client specifically composes undici's decompress interceptor together with a downstream response handler that throws during response processing - the canonical example being the built-in dump interceptor configured with a maximum response size. The client must also initiate a request to a server the attacker controls or has compromised. The attack itself is simple once those conditions hold: the server returns a small compressed body that decompresses beyond the configured limit, so only the decompressed size matters and on-the-wire bytes stay tiny. The key LIMITING factor is that this interceptor combination is NOT undici's default behavior - applications that do not compose decompress with a throwing handler are unaffected - and only the vulnerable version ranges (7.15.0-7.30.0, 8.0.0-8.12.1) are impacted.

Impact

Signals are consistent and point to a genuine but bounded availability risk, not a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is driven entirely by the availability impact - there is no confidentiality or integrity exposure (C:N/I:N); this is a pure denial-of-service via an uncaught exception (CWE-248) that terminates the Node.js process. EPSS is low at 0.25% (15th percentile), the CVE is NOT in CISA KEV, and SSVC records Exploitation: none, Automatable: no, Technical Impact: partial - all of which agree that there is no evidence of active or automatable exploitation. These signals are mutually reinforcing rather than conflicting: a low EPSS alongside no KEV listing and SSVC 'Exploitation: none' indicates no observed real-world attacks. One important nuance the raw CVSS does not capture: exploitation is conditional on the victim client's own configuration (composing the decompress interceptor with a handler that throws, e.g. the dump interceptor with a maxSize), so PR:N is technically correct (the attacker - a malicious/compromised server - needs no privileges) but the realistic attack surface is narrower than a 7.5 network-unauthenticated flaw would suggest. Treat this as a prompt-but-routine patch for teams actually using that interceptor combination, not a drop-everything incident.

Exploit ScenarioDerived

A client application built on undici composes the decompress interceptor with the dump interceptor (or any handler that throws when a response exceeds a configured maximum size) and makes a request to an attacker-controlled or compromised HTTP server. The server returns a tiny gzip/deflate body that decompresses to more than the client's configured limit; the downstream handler throws asynchronously from a zlib callback, undici fails to catch it, and the uncaught exception crashes the entire Node.js process. No public exploit code has been identified, but the technique is trivial to reproduce given the detailed advisory.

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

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

Alert me

AnalysisAIv2 – Oct 19, 2026

Process-terminating denial of service in undici, the Node.js HTTP client, affecting versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1. When an application composes the decompress interceptor with a downstream response handler that throws during response processing - most notably the built-in dump interceptor hitting its configured maximum response size - a remote server controlled or compromised by an attacker can return a tiny compressed body that expands past that limit, and the resulting throw originates asynchronously inside a zlib stream callback where undici's engine does not convert it into a per-request failure, so it surfaces as an uncaught exception that terminates the Node.js process. The assessed vector (AV:N/AC:L/PR:N/UI:N, availability-only, A:H) makes this an unauthenticated remote crash with low attack complexity, but exposure is bounded because the vulnerable interceptor pairing is not undici's default behaviour and only the listed version ranges are affected. Vendor patches are available in 7.30.1 and 8.12.2, EPSS is low at 0.25% (15th percentile), SSVC records exploitation as none and automatable as no, and no public exploit code was identified at time of analysis.

Earlier versions of this analysis (1)
v1 Oct 15, 2026 - 19:46 CVSS 5.9

Process-terminating denial of service in the undici HTTP client library for Node.js (7.15.0 through 7.30.0 and 8.0.0 through 8.12.1) allows a malicious or compromised HTTP server to crash a connecting client by returning a small compressed body that expands past the client's configured response-size limit. The flaw only manifests when an application composes the decompress interceptor with a downstream handler that deliberately throws during response processing - most notably the built-in dump interceptor - because such exceptions are raised asynchronously from zlib stream callbacks, where undici's normal per-request error conversion does not apply, so the throw becomes an uncaught exception that terminates the Node.js process. Per the CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, 5.9) this is an unauthenticated remote crash with no confidentiality or integrity impact, and the AC:H rating reflects the non-default interceptor-stacking prerequisite rather than any authentication barrier; no public exploit code and no confirmed active exploitation were identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to undici 7.30.1 or 8.12.2, or any later release, as documented in GHSA-55wc-3pg8-jfw6 at https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6; if undici is a transitive dependency or bundled in a Node.js runtime, update the parent package or runtime to a build carrying the fixed library and verify the resolved version. If upgrading immediately is not possible, apply the vendor workaround and stop composing the decompress interceptor with a handler that throws during response processing - in particular avoid the dump interceptor's maxSize throw path. The trade-off is that you surrender either transparent decompression or the built-in size cap, so replace the cap with an equivalent limit enforced where errors can be returned rather than thrown, for example wrapping the handler in try/catch and converting the throw into a rejected promise, or counting decompressed bytes in a non-throwing handler and aborting the request yourself. Restricting which servers the client will talk to (egress allowlisting, refusing to fetch arbitrary attacker-supplied URLs) reduces reachability but does not fix the defect, and process supervision with automatic restart only shortens the outage window caused by each crash.

Affected VersionsENISA

undici 8.0.0 <8.12.2
undici 7.15.0 <7.30.1

Affected Packages

npm undici fix: 7.30.1, 8.12.2

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 HTTP client that ships with modern Node.js and is also consumed standalone; its interceptor architecture wraps request and response handling in composable layers, with the decompress interceptor piping gzip, deflate and brotli response bodies through zlib streams before handing chunks to the downstream handler. The defect is classified CWE-248 (Uncaught Exception) and comes down to where the throw is raised: undici's engine catches a synchronous throw from a downstream handler and converts it into a per-request failure, but response data arrives from zlib stream event callbacks, so a handler that throws by design - such as the dump interceptor rejecting a response larger than its configured maxSize - throws asynchronously and escapes that guard, propagating to the process-level uncaughtException path and, with Node's default behaviour, killing the process. Because the limit is checked against decompressed bytes, the attacker's on-the-wire payload can stay tiny while the expanded stream crosses the configured threshold, giving the crash a compression-amplification character. Impact is availability-only: the assessed vector scores no confidentiality or integrity effect, and SSVC records technical impact as partial with exploitation none and automatable no, reflecting the prerequisite that the client must deliberately compose decompress with a throwing handler and must issue a request to an attacker-controlled or compromised server.

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 MEDIUM
NVD 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

A remote malicious server needs no privileges or user interaction (PR:N/UI:N) and the trigger is a simple decompression bomb (AC:L); impact is availability-only process crash (A:H, C:N/I:N).

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 VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 19, 2026 - 20:59 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 20:53 NVD
MEDIUM HIGH
CVSS changed
Oct 19, 2026 - 20:53 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 15, 2026 - 20:03 EUVD
CVE Published
Oct 15, 2026 - 18:48 cve.org
MEDIUM 5.9

DescriptionNVD

undici is an HTTP client library for Node.js. In versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1, its decompress interceptor forwards decompressed response data to the downstream handler from zlib stream event callbacks without catching exceptions those callbacks may throw, and while undici's engine converts a synchronous throw from a downstream handler into a per-request failure, that protection is absent when the throw happens asynchronously from a zlib callback. As a result, a downstream handler that throws by design, such as the built-in dump interceptor which throws when a response exceeds its configured maximum size, escapes as an uncaught exception that terminates the Node.js process. A malicious or compromised HTTP server can crash any client that composes the decompress interceptor with such a handler by returning a small compressed body that decompresses to more than the configured limit, so only the decompressed size matters and the bytes on the wire stay tiny. The issue is fixed in undici 7.30.1 and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, avoid composing the decompress interceptor with a response handler that throws during response processing until upgrading.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 19 npm packages depend on undici (16 direct, 3 indirect)

Ecosystem-wide dependent count for version 7.15.0.

Technical POC Analysis

The bug class is CWE-248 (Uncaught Exception).

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

A denial-of-service vulnerability in the undici HTTP client can allow an unauthenticated remote attacker to crash Node.js processes in applications that use a non-default decompression interceptor paired with a downstream response handler. Only undici versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1 are affected, and no public exploit has been identified at time of analysis, but any internet-facing service using the vulnerable configuration faces potential availability disruption. Leadership should care because repeated process crashes could degrade customer-facing uptime and require emergency engineering response.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
undici is the default Node.js HTTP client with an enormous npm footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.2%
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
Medium
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
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