Shellfeed logo Shellfeed

CVE-2026-126343 · MEDIUM (CVSS 5.3)

Summary: @hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process

EPSS: 0.5% probability of exploitation in the next 30 days (percentile 39.9).

Details

@hono/node-server allows running the Hono application on Node.js. From 2.0.0 until 2.1.6, the WebSocket upgrade handler waits for the Hono application to finish asynchronous middleware or handler work without first attaching an error listener to the socket. If an unauthenticated client resets the TCP connection during that window, the socket emits an unhandled ECONNRESET error and terminates the Node.js process. If a global uncaughtException handler suppresses termination, the pending upgrade waiter is not released and repeated requests can grow the heap. This affects applications that enable WebSocket support and perform asynchronous work on the upgrade path. This issue is fixed in version 2.1.6.

Severity

MEDIUM (CVSS 5.3) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

  • npm @hono/node-server [2.0.0 – 2.1.6]
  • GIT github.com/honojs/node-server [58c9355998b3b202bf7eb22b1505a2d4d847c3b0 – 123f78269626704eb7f4d85a9529e357315ba051]

References

Posts about CVE-2026-126343