Read the docs

Unhandled ECONNRESET during WebSocket upgrade crashes @hono/node-server

Priority LOW 30CWE-248Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-248.

Summary

The @hono/node-server package from 2.0.0 before 2.1.6 attaches no error listener to the socket while the WebSocket upgrade handler waits for asynchronous Hono application work. An unauthenticated client that resets the TCP connection during that window causes an unhandled ECONNRESET error that terminates the Node.js process (CWE-248). If a global uncaughtException handler keeps the process running, the pending upgrade waiter is never released and repeated requests can grow the heap. This affects applications that enable WebSocket support and run asynchronous work on the upgrade path.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

@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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00453 39th percentileScored 2026-11-16
Fix Fixed node-server (honojs): 2.1.6@hono/node-server (npm): 2.1.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
honojsnode-server2.0.0 to before 2.1.62.1.6Patch availableCNA
—@hono/node-server (npm)2.0.0 to before 2.1.62.1.6Patch availableGHSA-qv5m-9pm6-hqp3
  • node-server Vendorhonojs Affected 2.0.0 to before 2.1.6 Fixed in 2.1.6 Patch available CNA
  • @hono/node-server (npm) Vendor— Affected 2.0.0 to before 2.1.6 Fixed in 2.1.6 Patch available GHSA-qv5m-9pm6-hqp3

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:hono:node-server:*:*:*:*:*:*:*:*——honojs
  • cpe:2.3:a:hono:node-server:*:*:*:*:*:*:*:* Versions — — ·honojs

Remediation

Upgrade @hono/node-server to version 2.1.6 or later, which fixes the issue in the npm package. The sources list no fixed version for the honojs node-server product beyond that package release.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA node-server (honojs) Fixed in 2.1.6
  • Fix · GHSA-qv5m-9pm6-hqp3 @hono/node-server (npm) Fixed in 2.1.6 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-126343
  2. 2026-11-12 Alias added: GHSA-qv5m-9pm6-hqp3
  3. 2026-11-12 Fix available: npm/@hono/[email protected] · GHSA-qv5m-9pm6-hqp3
  4. 2026-11-12 CVSS score added · GHSA-qv5m-9pm6-hqp3
  5. 2026-11-12 Weakness changed · GHSA-qv5m-9pm6-hqp3
  6. 2026-11-12 4 new references · GHSA-qv5m-9pm6-hqp3
  7. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
  • TI-2024-15441 @hono/node-server can't handle "double dots" in URL CVSS 3.1MEDIUM 5.3
  • TI-2024-32610 Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header. CVSS 3.1MEDIUM 5.9
  • TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
  • TI-2026-39189 Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest CVSS 3.1MEDIUM 4.8
  • TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
See all 67 →

Sources