Uncaught Exception Affecting undici package, versions >=7.0.0 <7.29.1>=8.0.0 <8.10.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-UNDICI-19635222
  • published6 Sept 2026
  • disclosed4 Sept 2026
  • credithaoxiang Yan

Introduced: 4 Sep 2026

NewCVE-2026-85014  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade undici to version 7.29.1, 8.10.2 or higher.

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to Uncaught Exception in the WebSocketStream API, whose socket-close handler calls abort() on the writable stream while the application holds a writer lock and then discards the rejected promise that aborting a locked stream returns. An attacker can crash the process through Node's default unhandledRejection handling by tearing down a WebSocket connection without completing the close handshake, for example with a TCP reset, a proxy teardown, or a protocol-violating frame. This requires the application to use the WebSocketStream API while actively writing through a writer, and the server to be attacker-controlled or compromised.

CVSS Base Scores

version 4.0
version 3.1