undici vulnerable to Denial of Service via unhandled exception resuming tuple-array header requests
- CVE-2026-138000
- EUVD-2026-145404
Description
undici is an HTTP client for Node.js. In versions 8.12.0 through 8.14.0, when an application composes the retry interceptor outside an interceptor that normalizes request headers, such as dns, cache, or deduplicate, and passes request headers as an array of name and value pairs, an origin that sends part of a resumable response body and then closes the connection makes the retry interceptor rebuild the request headers for a byte-range resume. The resume logic reads every header array as a flat name and value list, so it throws an uncaught TypeError inside the retry timer and terminates the Node.js process. The attacker only needs to control the response, which results in denial of service of the client process. The 7.x line is not affected. The issue is fixed in undici 8.14.1, and users should upgrade to 8.14.1 or later. As a workaround, pass request headers as an object or a flat name and value array instead of an array of pairs.
Text from the CVE.org record.
Recommendation
undici
- If you run a version from 8.12.0 to before 8.14.1update to 8.14.1 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
undici
Affected versions Fixed in from 8.12.0 to before 8.14.1 8.14.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.