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.
References
| Link | Resource |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Vendor Advisory |
| https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6 | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
19 Oct 2026, 20:41
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://cna.openjsf.org/security-advisories.html - Vendor Advisory | |
| References | () https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6 - Mitigation, Vendor Advisory | |
| CPE | cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* | |
| First Time |
Nodejs
Nodejs undici |
15 Oct 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-15 19:17
Updated : 2026-10-19 20:41
NVD link : CVE-2026-87029
Mitre link : CVE-2026-87029
CVE.ORG link : CVE-2026-87029
JSON object : View
Products Affected
nodejs
- undici
CWE
CWE-248
Uncaught Exception
