CVE-2026-138000
Awaiting Analysis Awaiting Analysis - Queue

Denial of Service in Undici HTTP Client

Vulnerability report for CVE-2026-138000, 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 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.

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 3 associated CPEs
Vendor Product Version / Range
nodejs undici From 8.12.0 (inc) to 8.14.0 (inc)
nodejs undici 8.14.1
nodejs undici From 8.12.0 (inc) to 8.14.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-248 An exception is thrown from a function, but it is not caught.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici npm package in Node.js versions 8.12.0 through 8.14.0. It allows a Denial of Service (DoS) attack where an attacker can terminate the Node.js process by exploiting an unhandled exception during the retry interceptor's header processing. The issue occurs when request headers are passed as a tuple array and the retry interceptor is composed outside certain header-normalizing interceptors.

Detection Guidance

To detect this vulnerability, check the installed version of the undici package in your Node.js project using the command: npm list undici. If the version is between 8.12.0 and 8.14.0, the system is vulnerable.

Impact Analysis

The vulnerability can cause the Node.js process to crash, leading to denial of service for the undici client. Attackers only need to control the response to trigger the exploit, which terminates the process without requiring privileges or user interaction.

Compliance Impact

This vulnerability primarily causes a denial of service (DoS) by terminating the Node.js process, which could disrupt services handling sensitive data. For GDPR, this may lead to temporary unavailability of data processing systems, potentially violating availability requirements under Article 32. For HIPAA, it could disrupt systems managing protected health information, affecting integrity and availability controls required by the Security Rule.

Mitigation Strategies

Upgrade the undici package to version 8.14.1 or later using the command: npm install undici@latest. As a temporary workaround, pass request headers as an object or flat key-value array instead of a tuple array.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138000. 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...