CVE-2026-87029

high

Description

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

https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6

https://github.com/nodejs/undici/releases/tag/v8.12.2

https://github.com/nodejs/undici/releases/tag/v7.30.1

https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420c

https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-102347

https://cna.openjsf.org/security-advisories.html

Details

Source: Mitre, NVD

Published: 2026-10-15

Updated: 2026-10-19

Named Vulnerability: GHSA-55wc-3pg8-jfw6

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

EPSS

EPSS: 0.0026