CVE-2026-132045
Awaiting Analysis Awaiting Analysis - Queue

ReDoS in Undici HTTP Client via Cache-Control Header

Vulnerability report for CVE-2026-132045, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: openjs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
nodejs undici From 7.29.0 (inc) to 7.30.3 (inc)
nodejs undici From 8.9.0 (inc) to 8.14.0 (inc)
nodejs undici 7.30.4
nodejs undici 8.14.1
nodejs undici From 7.29.0 (inc) to 7.30.4 (exc)
nodejs undici From 8.9.0 (inc) to 8.14.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1333 The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-132045 is a Denial of Service (DoS) vulnerability in the undici library, an HTTP client for Node.js. It affects versions 7.29.0 to 7.30.3 and 8.9.0 to 8.14.0 when using the RFC 9111 cache interceptor. A malicious server can send a response with excessive whitespace in Cache-Control or Vary headers, causing the client to parse them with a quadratic backtracking regex, stalling the Node.js event loop for 100-200ms at default settings.

Detection Guidance

Check if your Node.js application uses the undici library versions 7.29.0 through 7.30.3 or 8.9.0 through 8.14.0. Inspect the package.json file for undici dependencies and run npm list undici to verify the installed version.

Impact Analysis

This vulnerability can cause CPU exhaustion and block the Node.js event loop, leading to delayed or failed responses for concurrent requests. The impact worsens with larger header sizes, potentially causing multi-second delays. Only applications using the cache interceptor are affected.

Compliance Impact

This vulnerability primarily impacts system availability due to CPU exhaustion and event loop blocking, which could lead to service disruptions. While it does not directly violate GDPR or HIPAA, prolonged downtime may affect compliance with availability requirements in these regulations.

Mitigation Strategies

Upgrade undici to version 7.30.4 or later, or 8.14.1 or later. If upgrading is not possible, avoid using the cache interceptor as a temporary workaround.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-132045. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...