CVE-2026-126343: @hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
Published 2026-11-12 · Updated 2026-11-12 · Also known as GHSA-qv5m-9pm6-hqp3
Summary
@hono/node-server lacks an error listener on the socket while waiting to handle asynchronous WebSocket upgrades. Engineering teams using affected versions should update to the patched release immediately.
Who is affected
Unauthenticated attackers can terminate the Node.js process by sending a WebSocket upgrade request and prematurely resetting the TCP connection during asynchronous middleware execution. If global handlers suppress the crash, repeated requests will cause a memory leak and grow the heap over time.
Exploitability
The vulnerability is remotely exploitable over a network with low complexity and requires no privileges or user interaction, resulting in a Medium severity availability impact (CVSS 3.1 base score 5.3). The current EPSS score is 0.005, and CISA KEV status is false, indicating no known active exploitation.
Remediation
- Upgrade the npm package @hono/node-server to version 2.1.6 or later.
How to check your project
- Check package.json or lockfiles for the npm package @hono/node-server within the affected version range (introduced 2.0.0, fixed 2.1.6).
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @hono/node-server |
>= 2.0.0, < 2.1.6 | 2.1.6 | npm install @hono/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | Low |
FAQ
What causes the process to crash?
An unhandled 'ECONNRESET' event is emitted on the socket if the client resets the TCP connection before the asynchronous application upgrade handler attaches an error listener.
Which versions of @hono/node-server are affected?
Versions introduced from 2.0.0 up to, but not including, 2.1.6 are affected.
Is authentication required to exploit this vulnerability?
No, an unauthenticated client can trigger the issue by sending a WebSocket upgrade request and resetting the connection.
Original advisory description
References
- WEB https://github.com/honojs/node-server/security/advisories/GHSA-qv5m-9pm6-hqp3
- WEB https://github.com/honojs/node-server/commit/61cc0267e613e684401f17c27538ba3bf97339a4
- PACKAGE https://github.com/honojs/node-server
- WEB https://github.com/honojs/node-server/releases/tag/v2.1.6
Source records: GHSA-qv5m-9pm6-hqp3 (OSV.dev) · EPSS by FIRST, 2026-11-21.