A malicious or compromised origin that returns a header value with a long run of internal whitespace forces the client to spend quadratic CPU time parsing a single, size-bounded response, synchronous…
- CVSS
- 3.7Low
- Chance of exploitation (EPSS)
- —
- Published
- Dec 5, 2026
- In the news
- Not yet
What to do
A minor security flaw in Undici that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 7.30.4, 8.14.1
Affected versions
- Undici
- 7.29.0 to before 7.30.4; 8.9.0 to before 8.14.1
Description
undici is an HTTP client for Node.js. In versions 7.29.0 through 7.30.3 and 8.9.0 through 8.14.0, when the RFC 9111 cache interceptor is in use, undici parses the server's Cache-Control and Vary response headers with an optional-whitespace trimming helper whose regular expression backtracks quadratically. A malicious or compromised origin that returns a header value with a long run of internal whitespace forces the client to spend quadratic CPU time parsing a single, size-bounded response, synchronously blocking the Node.js event loop for around 100 to 200 milliseconds at the default maximum header size, and for several seconds when applications raise that limit, with concurrent responses serialized. The default fetch and request paths are not affected because they trim response headers with a linear scanner, so only applications that use the cache interceptor are affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, do not use the cache interceptor.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-132045 published (CVSS 3.7) (Dec 5, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Yesterday
- CVECVE-2026-132045 published (CVSS 3.7)CVE Program · 11:17 UTC
References 2
- cna.openjsf.org /security-advisories.html
- github.com /nodejs/undici/security/advisories/GHSA-gc94-vjfp-fm7x