medium5.3
CVE-2026-73565
Node.js Adapter for Hono: Unauthenticated memory-leak DoS via aborted WebSocket handshake
Impact
@hono/node-server allows running the Hono application on Node.js. From 2.0.0 until 2.0.10, a WebSocket upgrade request to an upgradeWebSocket route with a missing or malformed Sec-WebSocket-Key header causes src/websocket.ts to retain the request's IncomingMessage in waiterMap and leave waitForWebSocket pending because ws.handleUpgrade emits no connection event. The aborted handshake therefore has no cleanup path, allowing an unauthenticated attacker to flood a public route, cause unbounded memory growth, and eventually make the service unavailable. This issue is fixed in version 2.0.10.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @hono/node-server | >= 2.0.0, <= 2.0.9 | 2.0.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-9mqv-5hh9-4cgg
- https://github.com/honojs/node-server/security/advisories/GHSA-9mqv-5hh9-4cgg
- https://github.com/honojs/node-server/commit/3a21938c418340e980cb7ffa88e78369f78392d1
- https://github.com/honojs/node-server/releases/tag/v2.0.10