CVE-2026-87029
undici: undici: Denial of Service via unhandled exception in decompress interceptor
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-248
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=7.15.0, <7.30.1>=8.0.0, <8.12.2 | 7.30.18.12.2 |
| Seal npm | @seal-security/undici | >=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp999>=7.22.0-sp1, <7.22.0-sp999>=7.28.0-sp1p1, <7.28.0-sp999>=7.29.0-sp1, <7.29.0-sp999 | 7.18.2-sp9997.19.2-sp9997.22.0-sp9997.28.0-sp9997.29.0-sp999 |
| Seal npm | undici | >=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp999>=7.22.0-sp0, <7.22.0-sp999>=7.28.0-sp0, <7.28.0-sp999>=7.29.0-sp0, <7.29.0-sp999 | 7.18.2-sp9997.19.2-sp9997.22.0-sp9997.28.0-sp9997.29.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 23 fixes
Red Hat 8 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 8 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 8 (nodejs:22) | nodejs +10 | affected |
| 8 (nodejs:24) | nodejs +10 | affected |
| 9 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 9 (nodejs:22) | nodejs +4 | affected |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs24-npm | 1:11.19.1-1.24.22.1.1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.22.1-1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 |
chainguard 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| supabase-storage-api | 1.84.23-r1 | |
| node-gyp | 13.1.0-r1 | |
| renovate | 44.198.3-r1 | |
| kibana-9-2 | 9.2.8-r30 | |
| kibana-9-3 | 9.3.8-r9 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.12.2+dfsg+~cs3.2.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| node-gyp | 13.1.0-r1 | |
| renovate | 44.198.3-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-87029
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0
- github.com https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420c
- github.com https://github.com/nodejs/undici/releases/tag/v7.30.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.12.2
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-87029
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-87029
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.