Intel

AIKIDO-2026-995117

@hono/node-server is vulnerable to Denial of Service (DoS)

CVE-2026-73565Published Jul 17, 2026
July 17, 2026

53

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The upgradeWebSocket helper retains each upgrade request's IncomingMessage and a pending waiter promise in an internal map until a successful handshake emits connection or the route guard rejects the request. When ws aborts the handshake because Sec-WebSocket-Key is missing or malformed, no connection event fires, so neither cleanup path runs and the map entry is retained forever. An unauthenticated attacker can flood a public upgrade route with failed pre-handshake requests and gradually exhaust memory until the process becomes unavailable. The fix rejects and deletes the waiter on aborted or failed upgrade paths, including when the underlying socket closes before the handshake completes.

How do I fix this?

Upgrade the @hono/node-server library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application exposes an upgradeWebSocket route.

Versions

2.0.0 - 2.0.9

Fixed in 2.0.10

Background info

@hono/node-server is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.0.9.

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