- Home
- Vulnerabilities
- CVE-2026-126343
CVE-2026-126343
@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
Summary
@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.
Affected products and versions
honojs (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| node-server | Versions not specified | — | CNA (vendor or assigner) |
npm (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| @hono/node-server | from 2.0.0 (included) to 2.1.6 (excluded) |
2.1.6 |
GitHub Advisory |
Fix
Upgrade — npm/@hono/node-server 2.1.6official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-qv5m-9pm6-hqp3 — @hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process 12 Nov 2026
References
- https://github.com/honojs/node-server/security/advisories/GHSA-qv5m-9pm6-hqp3x_refsource_CONFIRM
- https://github.com/honojs/node-server/commit/61cc0267e613e684401f17c27538ba3bf97339a4x_refsource_MISC
- https://github.com/honojs/node-server/releases/tag/v2.1.6x_refsource_MISC
- https://github.com/honojs/node-serverPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-248 · Autre (CWE-248)