Uncaught Exception Affecting @hono/node-server package, versions >=2.0.0 <2.1.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-HONONODESERVER-22549644
  • published14 Nov 2026
  • disclosed12 Nov 2026
  • creditmanus-use

Introduced: 12 Nov 2026

NewCVE-2026-126343  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade @hono/node-server to version 2.1.6 or higher.

Overview

@hono/node-server is a Node.js Adapter for Hono

Affected versions of this package are vulnerable to Uncaught Exception via the WebSocket upgrade handler in src/websocket.ts, which attaches no error listener to the socket while awaiting the application's response. If a client resets the TCP connection during that window, the resulting ECONNRESET is emitted as an unhandled 'error' event and crashes the Node.js process. Where a global uncaughtException handler suppresses the crash, the pending upgrade entry is never released and its waiter is retained for the lifetime of the process, causing heap growth with repeated requests.

Note: This is only exploitable in applications that enable WebSocket support in @hono/node-server and run asynchronous middleware or handlers on the upgrade path.

CVSS Base Scores

version 4.0
version 3.1