← Back to overview

CVE-2026-19534 is a vulnerability in the undici HTTP client library's WebSocket implementation that causes a full Node.js process crash. During the WebSocket opening handshake, if a server responds with a Sec-WebSocket-Protocol header that was never requested by the client, undici dereferences a null value and throws an uncaught TypeError. Because the error occurs inside a microtask with no surrounding error handling, Node.js default behavior terminates the entire process rather than gracefully closing the connection. This allows any attacker-controlled or compromised server, or a machine-in-the-middle on a plaintext connection, to remotely crash applications without authentication. The vulnerability affects undici versions 6.7.0 through 6.28.0, 7.0.0 through 7.29.0, and 8.0.0 through 8.10.1. Fixed versions are undici 6.28.1, 7.29.1, and 8.10.2. Users are strongly advised to upgrade immediately to one of the patched releases.

Affected products

  • Node.js
  • undici 6.7.0 - 6.28.0
  • undici 7.0.0 - 7.29.0
  • undici 8.0.0 - 8.10.1

Related CVE's

  • CVE-2026-19534

Categories

  • Supply Chain & Dependencies
  • Web Technologies