Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

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

Medium · CVSS 5.3EPSS 0.5% First seen November 12, 2026

One of 2 npm:@hono/node-server vulnerabilities published together by GitHub Advisory: our article covers all of them.

JavaScriptWebVulnerabilities

Research article

honojs node-server: Uncaught Exception Leads to Server Crash

CVECVE-2026-126343
Vendor and productnpm:@hono/node-server; honojs node-server
PublishedNovember 22, 2026 07:15 UTC
Research cut-offNovember 22, 2026 07:00 UTC
Sources reviewed5: NVD record (last modified 2026-11-13); CISA KEV catalog; GitHub advisory (2026-11-12); FIRST EPSS (2026-11-21)

Executive summary

CVE-2026-126343 affects the honojs node-server package, with a CVSS 3.1 score of 5.3 MEDIUM, scored by security-advisories@github.com [1]. The flaw allows an unauthenticated client to crash the server process through a single connection [4]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to the fixed version [3].

Key points

  • CVE-2026-126343 affects the honojs node-server package, allowing an unauthenticated client to crash the server process through a single connection [4].
  • The CVSS 3.1 score is 5.3 MEDIUM, with no impact on confidentiality and no impact on integrity, but a low impact on availability [1].
  • The reviewed sources do not report exploitation of this vulnerability [2].
  • The fixed version of the affected package is 2.1.6 [3].
  • The advisory recommends attaching error and close listeners to the socket prior to invoking the application [3].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126343honojsnode-serverCWE-2485.3 MEDIUM, scored by security-advisories@github.com [1]2026-11-12T22:19:192026-11-13T20:18:29Received

Vulnerability description

A WebSocket upgrade request can cause the server to crash if the client resets the connection before the application responds [3]. The issue arises when the server does not attach error or close listeners to the socket before handling the upgrade [3]. If a client sends a WebSocket upgrade request and then resets the connection before the application has processed it, the server may terminate unexpectedly [3].

Attack surface and exploitation prerequisites

The CVSS vector indicates that the vulnerability requires no user interaction, no privileges, and access over the network [1]. The flaw is not applicable if the server does not support WebSocket connections or does not use asynchronous middleware on the upgrade path [3].

Impact analysis

The CVSS vector indicates no impact on confidentiality and no impact on integrity, but there is a low impact on availability [1]. The advisory notes that the issue includes potential denial of service due to unhandled errors or memory exhaustion [3].

Affected products and versions

AffectedFixed
@hono/node-server >= 2.0.0, < 2.1.62.1.6 [3]

Exploitation and threat intelligence status

CVE-2026-126343 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-22 [2]. The EPSS score for this CVE is 0.0045 (0.45%) with a percentile of 0.4013, indicating a low estimated probability of exploitation in the next 30 days [5].

Detection and exposure assessment

Readers can determine if they are exposed by checking if their installed version of @hono/node-server falls within the affected range [3]. No detection steps are provided by the sources [3].

Remediation

The fixed version of the affected package is 2.1.6 [3]. The advisory recommends attaching error and close listeners to the socket prior to invoking the application [3].

Remediation checklist

  1. Upgrade @hono/node-server to version 2.1.6 to address the vulnerability [3].
  2. Ensure that error and close event handlers are attached to the socket prior to launching the application to avoid unhandled exceptions [3].
  3. Monitor for unhandled errors or memory growth related to WebSocket upgrade requests, as general defensive practice; the advisory does not give this step.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not describe the attack lifecycle or specific exploitation scenarios.
  • The sources do not provide indicators of compromise.
  • The sources do not list any fixed version beyond 2.1.6.

References

  1. CVE-2026-126343 record. NIST National Vulnerability Database (NVD), 2026-11-13. https://nvd.nist.gov/vuln/detail/CVE-2026-126343. Accessed 2026-11-22. Vulnerability identification, CVSS score, affected versions
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-22. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-22. Exploitation and threat intelligence status
  3. GHSA-qv5m-9pm6-hqp3 / CVE-2026-126343 — @hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process. GitHub Security Advisory Database, 2026-11-12. https://github.com/advisories/GHSA-qv5m-9pm6-hqp3. Accessed 2026-11-22. Vulnerability description, impact analysis, affected versions, remediation
  4. Further facts from the advisories reviewed. GitHub Security Advisory Database. https://github.com/advisories/GHSA-qv5m-9pm6-hqp3. Accessed 2026-11-22. Vulnerability description
  5. EPSS score for CVE-2026-126343. FIRST, 2026-11-21. https://api.first.org/data/v1/epss?cve=CVE-2026-126343. Accessed 2026-11-22. Exploitation and threat intelligence status

Written with AI assistance from the 5 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

Medium · 5.3 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
low on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
@hono/node-server (npm)≥ 2.0.0, < 2.1.62.1.6
honojs node-server>= 2.0.0, < 2.1.6—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Details

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.

Source: GHSA-qv5m-9pm6-hqp3 / CVE-2026-126343, GitHub Advisory Database, licensed CC BY 4.0.

Affected

  • npm:@hono/node-server
  • honojs node-server

Frequently asked questions

What is CVE-2026-126343?

CVE-2026-126343 affects the honojs node-server package, with a CVSS 3.1 score of 5.3 MEDIUM, scored by security-advisories@github.com. The flaw allows an unauthenticated client to crash the server process through a single connection. The reviewed sources do not report exploitation. The main action is to upgrade to the fixed version. Weakness type: Uncaught Exception (CWE-248).

How severe is CVE-2026-126343?

CVE-2026-126343 has a CVSS 3.1 base score of 5.3 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-126343 being exploited?

Not as far as is known: CVE-2026-126343 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126343?

@hono/node-server (npm) ≥ 2.0.0, < 2.1.6 (fixed in 2.1.6); honojs node-server >= 2.0.0, < 2.1.6.

How do I fix CVE-2026-126343?

Upgrade @hono/node-server to version 2.1.6 to address the vulnerability. Ensure that error and close event handlers are attached to the socket prior to launching the application to avoid unhandled exceptions. Monitor for unhandled errors or memory growth related to WebSocket upgrade requests, as general defensive practice; the advisory does not give this step.

Timeline & sources

References

Related vulnerabilities & news