CVE-2026-141997
Awaiting Analysis Awaiting Analysis - Queue

Assertion Error in Undici HTTP Client

Vulnerability report for CVE-2026-141997, 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 6.26.0 through 6.29.1, 7.26.0 through 7.30.3, and 8.3.0 through 8.4.0, the HTTP/1.1 client asserts that the response parser is not paused when the connection ends, but the parser is paused whenever the application applies backpressure to a response body. A server that sends a response large enough to fill the body buffer and then closes or resets the connection triggers an AssertionError inside a socket event listener, outside any promise or error event the application can handle, so it becomes an uncaught exception and terminates the Node.js process. A malicious or compromised server reached through undici, including request and the global fetch, can crash the client with a single response regardless of the application's error handling. The issue is fixed in undici 6.29.2, 7.30.4, and 8.4.1, and users should upgrade to one of those versions or later. There is no workaround.

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 12 associated CPEs
Vendor Product Version / Range
undici undici From 6.26.0 (inc) to 6.29.1 (inc)
undici undici From 7.26.0 (inc) to 7.30.3 (inc)
undici undici From 8.3.0 (inc) to 8.4.0 (inc)
undici undici 6.29.2
undici undici 7.30.4
undici undici 8.4.1
nodejs undici From 6.26.0 (inc) to 6.29.1 (inc)
nodejs undici From 7.26.0 (inc) to 7.30.3 (inc)
nodejs undici From 8.3.0 (inc) to 8.4.0 (inc)
nodejs undici 6.29.2
nodejs undici 7.30.4
nodejs undici 8.4.1

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.
CWE-617 The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the undici library, an HTTP client for Node.js. It allows a Denial of Service attack via an uncaught assertion error when a server sends a large response and abruptly closes the connection. The error crashes the Node.js process because it occurs outside any error handling.

Detection Guidance

Check the version of the undici library in your Node.js project using 'npm list undici' or 'yarn list undici'. If the version is between 6.26.0-6.29.1, 7.26.0-7.30.3, or 8.3.0-8.4.0, the system is vulnerable.

Impact Analysis

A malicious or compromised server can crash your Node.js application with a single response, causing downtime or service disruption. Applications using undici's HTTP client or global fetch() are affected, regardless of error handling.

Compliance Impact

This vulnerability primarily causes Denial of Service (DoS) by crashing Node.js processes via uncaught exceptions. It does not directly affect data confidentiality or integrity but may impact availability of services. Compliance with GDPR or HIPAA could be indirectly affected if service unavailability leads to disruptions in data processing or access, potentially violating availability requirements under these regulations.

Mitigation Strategies

Upgrade the undici library to version 6.29.2 or later, 7.30.4 or later, or 8.4.1 or later. Use 'npm update undici' or 'yarn upgrade undici' to apply the patch. No workarounds exist, so upgrading is mandatory.

Chat Assistant

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