CVE-2026-87029
Reported by openjs · Published October 15, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| undici | undici | 7.15.0, 7.30.1, 8.0.0 |
| npm | undici | 7.15.0, 8.0.0 |
| wolfi | node-gyp | 0 |
| undici | undici | 8.12.2, 7.15.0, 7.30.1 |
Timeline
- Oct 15, 2026 Coalition ESS Score
- Oct 15, 2026 CVE Published
- Oct 16, 2026 EPSS Score
- Oct 20, 2026 EPSS Score
- Oct 22, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
- Oct 27, 2026 CVE Updated
- Oct 29, 2026 EPSS Score
- Oct 31, 2026 Security Advisory
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-87029 advisory
- https://github.com/advisories/GHSA-55wc-3pg8-jfw6 advisory
- https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0 patch
- https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420c patch
- https://github.com/nodejs/undici/releases/tag/v7.30.1 url
- https://github.com/nodejs/undici/releases/tag/v8.12.2 url