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
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
Affected Vendors & Products
| 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 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. |