Intel

AIKIDO-2026-64244

undici is vulnerable to Denial of Service (DoS)

CVE-2026-109932Published Oct 19, 2026
October 19, 2026

50

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The WebSocket client in undici, including Node.js's bundled globalThis.WebSocket, automatically writes a PONG response for every PING frame it receives and ignores the false return value of socket.write(), which signals backpressure. A malicious or compromised WebSocket server can stream small PING frames while never reading the client's PONGs, causing the outbound write queue and heap to grow without bound until the Node.js process runs out of memory and terminates. The attack is remote, unauthenticated, and asymmetric, as small inbound PINGs produce a much larger retained outbound queue. The fix pauses WebSocket frame parsing when the automatic PONG write hits socket backpressure and resumes it on drain, bounding the outbound queue.

How do I fix this?

Upgrade the undici library to the patch version. No workarounds are available.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you connect to untrusted or potentially compromised WebSocket servers using the undici WebSocket client or Node.js's global WebSocket.

Package

Versions

5.15.0 - 6.29.0

Fixed in 6.29.1

7.0.0 - 7.30.0

Fixed in 7.30.1

8.0.0 - 8.12.1

Fixed in 8.12.2

Background info

undici is vulnerable to Denial of Service (DoS) in versions 5.15.0 - 6.29.0, 7.0.0 - 7.30.0 and 8.0.0 - 8.12.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea