CVE-2026-84947
Description
undici's dump interceptor reads and discards a response body up to a configurable maximum size. When a response declares a Content-Length that exceeds the maximum, the interceptor aborts cleanly, but when a response has no Content-Length and is chunked, the interceptor instead signals completion early once the accumulated size reaches the maximum, without pausing or aborting the request. Because the underlying parser keeps delivering body bytes, a second completion signal fires and trips an internal assertion, which aborts the request and tears down the connection. The application is left observing a misleading successful status with an empty or truncated body while the connection has actually been disconnected. This affects undici versions from 7.1.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
undicinpm | >= 7.1.0, < 7.29.1 | 7.29.1 |
undicinpm | >= 8.0.0, < 8.10.2 | 8.10.2 |
Affected products
2Patches
Vulnerability mechanics
References
8- cna.openjsf.org/security-advisories.htmlnvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-2gqq-gqf2-x968ghsaADVISORY
- github.com/nodejs/undici/security/advisories/GHSA-2gqq-gqf2-x968nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-84947ghsaADVISORY
- github.com/nodejs/undici/commit/21693f406f0142f3504192e9f9b022dcf84782aeghsaWEB
- github.com/nodejs/undici/commit/6d583124e7cf60b640097d64144ed633cc450584ghsaWEB
- github.com/nodejs/undici/releases/tag/v7.29.1ghsaWEB
- github.com/nodejs/undici/releases/tag/v8.10.2ghsaWEB
News mentions
0No linked articles in our index yet.