CVE-2026-141997
undici vulnerable to Denial of Service via reachable assertion in the HTTP/1.1 response parser
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.