Every CVESearch/Get API key

CVE-2026-126343

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

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.3Medium
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.45% in 30 days
Percentile41st
EPSS, scored
Listed fix
2.1.6 for @hono/node-server (npm)
From GitHub Advisories and OSV45 other affected packages

Overview

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

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

Impact

Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit chance over time

Unchanged since Nov 13, 2026
EPSS score, scored every day from Nov 13, 2026 to Dec 4, 2026: lowest 0.45% on Nov 13, 2026, highest 0.51% on Nov 25, 2026, 0.45% on the last day.

Affected

Packages 46

Affected packages
PackageAffectedFixed
@hono/node-server
npm
2.0.0 up to 2.1.6
2.1.6
@hono/node-server
TuxCare:npm
2.0.5-tuxcare.0 up to 2.0.5-tuxcare.3, plus listed versions
2.0.52.0.5-tuxcare.12.0.5-tuxcare.2
2.0.5-tuxcare.3
2.0.11-tuxcare.0 up to 2.0.11-tuxcare.1, plus listed versions
From an advisory covering 3 CVEs
2.0.11
2.0.11-tuxcare.1
brave-search-mcp
Docker Hardened Images:Alpine:3.23
2.1.0-r1 and later, plus listed versions
2.1.3-r12.1.3-r22.1.3-r32.1.4-r02.1.4-r1
Show 6 more versionsShow less
2.1.4-r22.1.4-r32.1.4-r42.1.5-r02.2.0-r02.2.0-r1
None listed
brave-search-mcp
Docker Hardened Images:Alpine:3.24
2.1.0-r1 and later, plus listed versions
2.1.3-r12.1.3-r22.1.3-r32.1.4-r02.1.4-r1
Show 6 more versionsShow less
2.1.4-r22.1.4-r32.1.4-r42.1.5-r02.2.0-r02.2.0-r1
None listed
directus-12
Docker Hardened Images:Alpine:3.23
12.4.1-r0 and later, plus listed versions
12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0
Show 19 more versionsShow less
12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4
None listed
directus-12
Docker Hardened Images:Alpine:3.24
12.4.1-r0 and later, plus listed versions
12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0
Show 19 more versionsShow less
12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4
None listed
librechat-0
Docker Hardened Images:Alpine:3.23
0.8.8-r0 and later, plus listed versions
0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5
Show 5 more versionsShow less
0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3
None listed
librechat-0
Docker Hardened Images:Alpine:3.24
0.8.8-r0 and later, plus listed versions
0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5
Show 5 more versionsShow less
0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3
None listed
llama-cpp-0
Docker Hardened Images:Alpine:3.23
0.7.0-r1 and later, plus listed versions
0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6
Show 11 more versionsShow less
0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7
None listed
Show 37 more packagesShow less
Affected packages
PackageAffectedFixed
llama-cpp-0
Docker Hardened Images:Alpine:3.24
0.7.0-r1 and later, plus listed versions
0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6
Show 11 more versionsShow less
0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7
None listed
llama-cpp-1
Docker Hardened Images:Alpine:3.23
1.0.0-r0 and later, plus listed versions
1.0.0-r11.1.0-r01.1.0-r1
None listed
llama-cpp-1
Docker Hardened Images:Alpine:3.24
1.0.0-r0 and later, plus listed versions
1.0.0-r11.1.0-r01.1.0-r1
None listed
mapbox-mcp
Docker Hardened Images:Alpine:3.23
before 0.17.0-r0, plus listed versions
0.14.0-r10.14.0-r20.14.0-r30.14.0-r40.15.0-r0
Show 10 more versionsShow less
0.15.1-r00.15.1-r10.15.1-r20.16.0-r00.16.0-r10.16.0-r20.16.0-r30.16.0-r40.16.0-r50.16.0-r6
0.17.0-r0
mapbox-mcp
Docker Hardened Images:Alpine:3.24
before 0.17.0-r0, plus listed versions
0.14.0-r10.14.0-r20.14.0-r30.14.0-r40.15.0-r0
Show 10 more versionsShow less
0.15.1-r00.15.1-r10.15.1-r20.16.0-r00.16.0-r10.16.0-r20.16.0-r30.16.0-r40.16.0-r50.16.0-r6
0.17.0-r0
postman-mcp
Docker Hardened Images:Alpine:3.23
2.11.2-r5 and later, plus listed versions
2.12.0-r02.12.2-r02.12.3-r02.13.0-r02.14.0-r02.15.0-r02.15.0-r12.15.0-r2
None listed
postman-mcp
Docker Hardened Images:Alpine:3.24
2.9.1-r0 and later, plus listed versions
2.11.0-r02.11.1-r02.11.1-r12.11.2-r12.11.2-r2
Show 11 more versionsShow less
2.11.2-r32.11.2-r42.11.2-r52.12.0-r02.12.2-r02.12.3-r02.13.0-r02.14.0-r02.15.0-r02.15.0-r12.15.0-r2
None listed
smartbear-mcp-0-fips
Docker Hardened Images:Alpine:3.23
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
smartbear-mcp-0-fips
Docker Hardened Images:Alpine:3.24
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
smartbear-mcp-0
Docker Hardened Images:Alpine:3.23
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
smartbear-mcp-0
Docker Hardened Images:Alpine:3.24
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
webflow-mcp
Docker Hardened Images:Alpine:3.23
1.0.0-r0 and later, plus listed versions
1.0.0-r11.0.0-r21.0.0-r31.0.0-r41.0.0-r5
Show 4 more versionsShow less
1.0.0-r61.0.0-r71.0.0-r81.0.0-r9
None listed
webflow-mcp
Docker Hardened Images:Alpine:3.24
1.0.0-r0 and later, plus listed versions
1.0.0-r11.0.0-r21.0.0-r31.0.0-r41.0.0-r5
Show 4 more versionsShow less
1.0.0-r61.0.0-r71.0.0-r81.0.0-r9
None listed
brave-search-mcp
Docker Hardened Images:Debian:13
2.1.0-1 and later, plus listed versions
2.1.3-12.1.3-22.1.3-32.1.4-02.1.4-1
Show 6 more versionsShow less
2.1.4-22.1.4-32.1.4-42.1.5-02.2.0-02.2.0-1
None listed
context7-mcp
Docker Hardened Images:Debian:13
3.2.5-0 up to 3.2.5-7, plus listed versions
3.2.5-13.2.5-23.2.5-33.2.5-43.2.5-53.2.5-6
3.2.5-7
directus-12
Docker Hardened Images:Debian:13
12.4.1-0 and later, plus listed versions
12.4.1-112.4.1-212.5.0-012.5.0-112.5.0-2
Show 23 more versionsShow less
12.5.1-012.5.1-112.5.1-212.5.1-312.6.0-012.6.0-112.6.0-212.6.0-312.6.0-412.6.0-512.6.0-612.6.1-012.6.1-112.6.1-212.6.1-312.6.1-412.6.1-512.7.0-012.7.0-112.7.0-212.7.0-312.7.0-412.7.0-5
None listed
filesystem-mcp
Docker Hardened Images:Debian:13
before 2026.8.31-5, plus listed versions
2026.7.10-02026.8.18-02026.8.31-02026.8.31-12026.8.31-22026.8.31-4
2026.8.31-5
firecrawl-mcp
Docker Hardened Images:Debian:13
before 3.36.1-0, plus listed versions
3.2.1-03.2.1-23.24.1-13.24.1-103.24.1-11
Show 13 more versionsShow less
3.24.1-123.24.1-133.24.1-143.24.1-153.24.1-163.24.1-23.24.1-33.24.1-43.24.1-53.24.1-63.24.1-73.24.1-83.24.1-9
3.36.1-0
hub-mcp
Docker Hardened Images:Debian:13
before 0.19.0-3, 0.19.0-5 up to 0.19.0-7, plus listed versions
0.18.0-00.18.0-10.18.0-20.18.0-30.18.0-4
Show 4 more versionsShow less
0.19.0-00.19.0-10.19.0-20.19.0-6
0.19.0-30.19.0-7
kibana-9.4
Docker Hardened Images:Debian:13
9.4.5-1 and later, plus listed versions
9.4.10-09.4.10-19.4.10-29.4.7-09.4.8-0
Show 18 more versionsShow less
9.4.8-19.4.8-119.4.8-129.4.8-139.4.8-149.4.8-29.4.8-39.4.8-49.4.8-59.4.8-69.4.8-79.4.8-89.4.8-99.4.9-09.4.9-19.4.9-29.4.9-39.4.9-4
None listed
kibana-9.5
Docker Hardened Images:Debian:13
9.5.5-0 and later, plus listed versions
9.5.5-19.5.5-109.5.5-119.5.5-129.5.5-2
Show 13 more versionsShow less
9.5.5-39.5.5-49.5.5-59.5.5-69.5.5-79.5.5-99.5.6-09.5.6-19.5.6-29.5.6-39.5.7-09.5.7-19.5.7-2
None listed
langfuse-3
Docker Hardened Images:Debian:13
3.225.0-0 and later, plus listed versions
3.225.0-13.225.1-03.225.1-13.225.10-03.225.11-0
Show 24 more versionsShow less
3.225.12-03.225.12-13.225.12-23.225.14-03.225.15-03.225.15-13.225.15-23.225.2-03.225.3-03.225.4-03.225.5-03.225.5-13.225.7-03.225.7-13.225.8-03.225.8-13.225.9-03.227.0-03.227.0-13.227.1-03.227.1-13.227.1-23.227.1-33.227.1-4
None listed
langfuse-4
Docker Hardened Images:Debian:13
4.3.1-0 and later, plus listed versions
4.10.0-04.11.0-04.12.0-04.13.0-04.14.0-0
Show 44 more versionsShow less
4.15.0-04.26.0-04.36.1-04.38.0-04.4.0-04.41.0-04.43.0-04.44.0-04.46.0-04.47.0-04.48.0-04.5.0-04.5.0-14.50.0-04.53.0-04.6.0-04.63.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-14.72.0-14.74.0-04.75.0-04.76.0-04.76.0-14.77.0-04.78.0-04.79.0-04.79.0-14.80.0-04.80.0-14.81.0-04.82.0-04.83.0-04.84.0-04.84.0-14.86.0-04.87.0-04.88.0-04.9.0-04.90.0-0
None listed
langfuse-worker-4
Docker Hardened Images:Debian:13
4.13.0-0 and later, plus listed versions
4.14.0-04.15.0-04.17.0-04.19.0-04.21.0-0
Show 45 more versionsShow less
4.22.0-04.24.0-04.26.0-04.27.0-04.28.0-04.28.1-04.30.0-04.31.0-04.32.0-04.33.0-04.34.0-04.35.0-04.36.0-04.36.1-04.51.0-04.53.0-04.54.0-04.55.0-04.55.0-14.63.0-04.64.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-24.74.0-04.75.0-04.75.0-14.76.0-04.77.0-04.77.0-14.78.0-04.79.0-04.80.0-04.80.0-14.81.0-04.82.0-04.82.0-14.83.0-04.84.0-04.84.0-14.86.0-04.86.0-1
None listed
librechat-0
Docker Hardened Images:Debian:13
0.8.8-0 and later, plus listed versions
0.8.8-10.8.8-20.8.8-30.8.8-40.8.8-5
Show 5 more versionsShow less
0.8.9-00.8.9-10.8.9-20.8.9-30.8.9-4
None listed
llama-cpp-0
Docker Hardened Images:Debian:13
0.6.0-0 and later, plus listed versions
0.7.0-00.7.0-10.7.0-20.7.0-30.7.0-4
Show 15 more versionsShow less
0.7.0-50.7.0-60.7.0-70.8.0-00.8.0-10.9.0-00.9.0-10.9.0-20.9.0-30.9.0-40.9.0-50.9.0-60.9.0-70.9.0-80.9.0-9
None listed
llama-cpp-1
Docker Hardened Images:Debian:13
1.0.0-0 and later, plus listed versions
1.0.0-11.0.0-21.0.0-31.1.0-01.1.0-11.1.0-2
None listed
mapbox-mcp
Docker Hardened Images:Debian:13
before 0.17.0-0, plus listed versions
0.14.0-00.14.0-10.15.0-00.15.1-00.15.1-1
Show 4 more versionsShow less
0.16.0-00.16.0-10.16.0-20.16.0-3
0.17.0-0
memory-mcp
Docker Hardened Images:Debian:13
before 2026.8.31-5, plus listed versions
2026.7.10-02026.8.18-12026.8.31-02026.8.31-12026.8.31-22026.8.31-32026.8.31-4
2026.8.31-5
mongodb-mcp
Docker Hardened Images:Debian:13
1.14.0-0 up to 1.14.0-11, 2.0.0-0 up to 2.1.2-8, 3.1.0-4 up to 3.3.0-2, plus listed versions
1.14.0-11.14.0-101.14.0-21.14.0-31.14.0-4
Show 22 more versionsShow less
1.14.0-51.14.0-61.14.0-71.14.0-81.14.0-92.1.0-02.1.0-12.1.1-02.1.1-12.1.1-22.1.2-02.1.2-12.1.2-22.1.2-32.1.2-42.1.2-52.1.2-62.1.2-73.2.1-03.2.2-03.3.0-03.3.0-1
1.14.0-112.1.2-83.3.0-2
notion-mcp
Docker Hardened Images:Debian:13
2.5.0-0 and later, plus listed versions
2.5.0-12.5.0-22.5.2-02.5.2-12.5.2-10
Show 6 more versionsShow less
2.5.2-22.5.2-32.5.2-42.5.2-52.5.2-82.5.2-9
None listed
perplexity-mcp
Docker Hardened Images:Debian:13
1.2.0-0 and later, plus listed versions
1.2.1-01.2.1-11.2.1-21.2.1-31.3.0-0
Show 9 more versionsShow less
1.3.0-11.3.0-21.3.0-31.3.0-41.3.0-51.3.0-61.3.0-71.5.0-01.5.0-1
None listed
postman-mcp
Docker Hardened Images:Debian:13
2.9.1-0 and later, plus listed versions
2.11.0-02.11.1-02.11.1-12.11.2-02.11.2-1
Show 12 more versionsShow less
2.11.2-22.11.2-32.11.2-52.12.0-02.12.2-02.12.3-02.13.0-02.13.0-12.14.0-02.15.0-02.15.0-12.15.0-2
None listed
smartbear-mcp-0-fips
Docker Hardened Images:Debian:13
0.42.0-0 and later, plus listed versions
0.43.0-00.43.0-10.43.0-20.43.0-30.44.0-0
Show 8 more versionsShow less
0.44.0-10.44.0-20.45.0-00.45.0-10.45.0-20.45.0-30.46.0-00.46.0-1
None listed
smartbear-mcp-0
Docker Hardened Images:Debian:13
0.42.0-0 and later, plus listed versions
0.43.0-00.43.0-10.43.0-20.43.0-30.44.0-0
Show 8 more versionsShow less
0.44.0-10.44.0-20.45.0-00.45.0-10.45.0-20.45.0-30.46.0-00.46.0-1
None listed
supabase-studio
Docker Hardened Images:Debian:13
2026.08.03-0 and later, plus listed versions
2026.09.07-02026.09.07-12026.09.07-22026.09.07-42026.09.07-5
Show 11 more versionsShow less
2026.10.12-02026.10.12-12026.10.12-22026.11.02-02026.11.02-12026.11.02-22026.11.02-32026.11.02-42026.11.02-52026.11.02-62026.11.23-0
None listed
webflow-mcp
Docker Hardened Images:Debian:13
1.0.0-0 and later, plus listed versions
1.0.0-11.0.0-21.0.0-31.0.0-41.0.0-5
Show 4 more versionsShow less
1.0.0-61.0.0-71.0.0-81.0.0-9
None listed

The JSON record also has 6 more versions.

Products 1

Sources

CVE List Score usedCVSS 3.15.3

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

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

Record
CVE-2026-126343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-248
Updated
2026-11-12
EUVDEUVD-2026-124721CVSS 3.15.3

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

Record
EUVD-2026-124721
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-12
GitHub AdvisoriesGHSA-qv5m-9pm6-hqp3CVSS 3.15.3

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

Summary

While @hono/node-server waits for the Hono application to handle a WebSocket upgrade request, the socket has no error listener. If the client resets the TCP connection during that time, the resulting ECONNRESET is emitted as an unhandled 'error' event and the process terminates.

Details

The upgrade handler awaits the application before attaching any listener to the socket. When middleware on the upgrade path does asynchronous work, such as an authentication lookup, a connection reset in that window has no handler. If a global uncaughtException handler swallows the error, the pending upgrade is never released and its entry is retained for the lifetime of the process.

The fix attaches error and close listeners to the socket before calling the application, releases the pending upgrade when the socket closes, and skips the handshake on a destroyed socket.

Impact

An unauthenticated client can terminate the server process with a single connection by sending a WebSocket upgrade request and resetting the connection before the application has responded. Where the crash is suppressed, repeated requests grow the heap.

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

Record
GHSA-qv5m-9pm6-hqp3
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-248
Updated
2026-11-12
NVDCVSS 3.15.3

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

Record
CVE-2026-126343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-248
Updated
2026-11-12
OSVCVSS 3.15.3

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

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

Record
CVE-2026-126343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-248
Updated
2026-11-14
OSVDHI-zoi6-iljg-pydz-g2rfCVSS 3.15.3

@hono/node-server allows running the Hono application on Node.js. From 2.0.0 until 2.1.6, the WebSocket upgrade handler…

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

Record
DHI-zoi6-iljg-pydz-g2rf
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-12-05
OSVGHSA-qv5m-9pm6-hqp3CVSS 3.15.3

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

Summary

While @hono/node-server waits for the Hono application to handle a WebSocket upgrade request, the socket has no error listener. If the client resets the TCP connection during that time, the resulting ECONNRESET is emitted as an unhandled 'error' event and the process terminates.

Details

The upgrade handler awaits the application before attaching any listener to the socket. When middleware on the upgrade path does asynchronous work, such as an authentication lookup, a connection reset in that window has no handler. If a global uncaughtException handler swallows the error, the pending upgrade is never released and its entry is retained for the lifetime of the process.

The fix attaches error and close listeners to the socket before calling the application, releases the pending upgrade when the socket closes, and skips the handshake on a destroyed socket.

Impact

An unauthenticated client can terminate the server process with a single connection by sending a WebSocket upgrade request and resetting the connection before the application has responded. Where the crash is suppressed, repeated requests grow the heap.

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

Record
GHSA-qv5m-9pm6-hqp3
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-248
Updated
2026-11-12
OSVCLSA-2026-1794847706No score

TuxCare security update for @hono/node-server (1 CVE)

TuxCare rebuilt @hono/node-server to address 1 CVE. Fixed in 2.0.5-tuxcare.3.

Record
CLSA-2026-1794847706
Updated
2026-11-17
OSVCLSA-2026-1795781708No score

TuxCare security update for @hono/node-server (3 CVEs)

TuxCare rebuilt @hono/node-server to address 3 CVEs. Fixed in 2.0.11-tuxcare.1.

Record
CLSA-2026-1795781708
Updated
2026-11-27

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Show 11 more daysShow less
Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
ReferencesOSV
Published dateEUVD, NVD
Description, published date, references, severityCVE List
Other IDs, productsEUVD
Affected packages, referencesOSV
First indexedGitHub Advisories

Upstream dates may differ.

References

MoveEnter Open