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

Home › Vulnerabilities › hono

Medium 5.3 2 CVEs Analysis

Hono's @hono/node-server has two medium flaws: WebSocket upgrade crash and backslash path bypass

GitHub published two MEDIUM (CVSS 5.3) advisories for the npm package @hono/node-server on 2026-11-12. One lets an unauthenticated client crash the process during a WebSocket upgrade, and the other lets a request reach routes that a reverse proxy in front of the application is meant to block.

What to look into

  • 2 vulnerabilities in npm:@hono/node-server: 2 medium (CVSS up to 5.3).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-126343 (5.3 medium): honojs node-server: Uncaught Exception Leads to Server Crash. An attacker without an account can exploit this over the network, without any user action.
  • 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Uncaught Exception; Interpretation Conflict.
JavaScriptLinuxNetwork devicesnginxOperating systemsVulnerabilitiesWeb

Key points

  • CVE-2026-126343: an unauthenticated client can terminate the server process with one WebSocket upgrade request and a TCP reset, when WebSocket support is enabled.
  • Where the crash is suppressed, the advisory says repeated requests can grow the heap.
  • CVE-2026-126210: a raw backslash in the path can make a request reach a route that a proxy or WAF blocks by path.
  • The fix for the path issue returns 400 Bad Request for a raw backslash; no fixed version is named in the records.

Two medium-severity flaws in the Hono Node server adapter

Two GitHub advisories published on 2026-11-12 cover the npm package @hono/node-server. Both are rated MEDIUM with a CVSS score of 5.3, and both can be triggered by an unauthenticated client. The records do not say that either flaw is known to be exploited.

WebSocket upgrade connection reset (CVE-2026-126343)

While the Hono application is handling a WebSocket upgrade request, the socket has no error listener. If the client resets the TCP connection during that wait, the resulting ECONNRESET is emitted as an unhandled 'error' event and the process terminates. If a global uncaughtException handler suppresses the error instead, the pending upgrade is never released and its entry stays in memory for the life of the process, so repeated requests can grow the heap. The advisory says this affects applications that enable WebSocket support in @hono/node-server. The fix attaches error and close listeners before calling the application, releases the pending upgrade when the socket closes, and skips the handshake on a destroyed socket.

Backslash handling in request paths (CVE-2026-126210)

The adapter passes the raw request-target to the WHATWG URL parser, which treats a backslash as a forward slash and resolves .. segments. According to the advisory, a request for /admin\secret reaches the application as /admin/secret. A reverse proxy that follows RFC 3986 keeps the backslash and applies its path rules to the original path, so the request can reach a route the proxy should block. The fix returns 400 Bad Request for a raw backslash in the path, covering HTTP/1.1, HTTP/2, absolute-form request-targets and WebSocket upgrades. Percent-encoded backslashes and backslashes in the query string are still accepted.

What administrators should do

The advisories do not name a fixed version or a workaround, so the patched release has to be identified from the package maintainers' release record. Teams running WebSocket support in this package should prioritise the first issue. Teams that place a proxy or WAF in front of applications using this package should review the second, since the advisory says a proxy that keeps the backslash may not apply its rules to the path the application sees.

What to do

  1. Update @hono/node-server to a release that includes the fixes; the advisories do not name the version.
  2. If WebSocket support is enabled in this package, prioritise the upgrade-related fix.
  3. Review proxy and WAF path rules for applications using this package, since the advisory describes a backslash mismatch between proxies and the application.
  4. Note that the advisories do not give a workaround; the records do not state one.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-126343 5.3 honojs node-server: Uncaught Exception Leads to Server Crash
  • CVE-2026-126210 5.3 honojs node-server: Path Interpretation Conflict in Request Handling

Frequently asked questions

How many npm:@hono/node-server vulnerabilities were published on November 12, 2026?

2 vulnerabilities: 2 medium, with CVSS scores up to 5.3.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-126343 (CVSS 5.3): honojs node-server: Uncaught Exception Leads to Server Crash.

Original records