Intel

AIKIDO-2026-775839

undici is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-19534 Published Today

75

High Risk

This Affects:

JSundici
6.7.0 - 6.28.0
Fixed in 6.28.1
7.0.0 - 7.29.0
Fixed in 7.29.1
8.0.0 - 8.10.1
Fixed in 8.10.2
Are you affected? Scan for Free

TL;DR

The WebSocket client throws an uncaught TypeError during the opening handshake when a 101 response includes a Sec-WebSocket-Protocol header that the client never requested. The throw runs inside a queueMicrotask with no surrounding error handling, so it terminates the Node.js process. Default WebSocket usage requests no subprotocol, and an unrequested subprotocol must fail the connection rather than crash it. The fix rejects the unrequested subprotocol without throwing.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you open a WebSocket connection.

Background info

undici is vulnerable to Denial of Service (DoS) in versions 6.7.0 - 6.28.0, 7.0.0 - 7.29.0 and 8.0.0 - 8.10.1.

How to fix this

Upgrade the undici library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform