CVE Catalog

CVE-2026-132045

LowCVSS 3.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.39%

35th percentile - higher than 35% of all known CVEs

Summary

In undici (HTTP client for Node.js) versions 7.29.0–7.30.3 and 8.9.0–8.14.0, the RFC 9111 cache interceptor parses Cache-Control and Vary response headers with a regular expression that backtracks quadratically. A malicious origin returning a header value with a long run of internal whitespace forces quadratic CPU time and synchronously blocks the Node.js event loop for about 100–200 ms at the default header limit, and for several seconds when the limit is raised. The default fetch and request paths are not affected because they trim headers with a linear scanner.

Risk Assessment

A malicious or compromised origin can block the Node.js event loop, causing slowdown or denial of service for applications using the cache interceptor. Concurrent responses are serialized, amplifying the effect.

Recommendation

Upgrade undici to 7.30.4 or 8.14.1 (or later). As a workaround, do not use the cache interceptor.

Other vulnerabilities in undici

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS