Vulnerabilities in pkg:npm/@hono/node-server

PACKAGE
Advisory Identifier: GHSA-9mqv-5hh9-4cgg
Advisory Summary

CVE-2026-73565 is a MODERATE (CVSS 5.3) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting @hono/node server libraries in the npm ecosystem. The issue involves unauthenticated memory-leak dos via aborted websocket handshake. Remediation is available by upgrading affected packages to version 2.0.10.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@hono/node-server

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@hono/node-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9mqv-5hh9-4cgg CVE-2026-73565 MODERATE Node.js Adapter for Hono: Unauthenticated memory-leak DoS via aborted WebSocket handshake
GHSA-frvp-7c67-39w9 - MODERATE Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
GHSA-92pp-h63x-v22m CVE-2026-39406 MODERATE @hono/node-server: Middleware bypass via repeated slashes in serveStatic
GHSA-wc8c-qw6v-h7f6 CVE-2026-29087 HIGH @hono/node-server has authorization bypass for protected static paths via encoded slashes in Serve Static Middleware
GHSA-hgxw-5xg3-69jx CVE-2024-32652 HIGH @hono/node-server has Denial of Service risk when receiving Host header that cannot be parsed
GHSA-rjq5-w47x-x359 CVE-2024-23340 MODERATE @hono/node-server cannot handle "double dots" in URL

CVE-2026-73565 at a Glance

CVE Identifier CVE-2026-73565
GHSA Identifier GHSA-9mqv-5hh9-4cgg
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product @hono/node server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-73565

To remediate this vulnerability, upgrade all affected @hono/node server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@hono/node-server fixed: 2.0.10
npm install @hono/node-server@2.0.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @hono/node-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-73565, inspect your project dependencies using npm:

npm ls @hono/node-server

Analyze the terminal output to locate any version of @hono/node server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.10), your application is affected.

Note: The npm ls @hono/node-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In @hono/node server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary A WebSocket upgrade request to an `upgradeWebSocket` route with a missing or malformed `Sec-WebSocket-Key` header leaks memory permanently. The request's `IncomingMessage` is retained in an internal map and a pending promise is never settled, even though no connection is established. Since the route is reachable pre-handshake without authentication, an unauthenticated attacker can flood it to gradually exhaust memory. ## Details The built-in WebSocket helper cleans up its internal map only on a successful handshake or when the route guard rejects the request. When `ws` aborts the handshake because `Sec-WebSocket-Key` is missing or malformed, no `connection` event is emitted, so neither cleanup path runs and the entry is retained forever. A present-but-malformed key leaks identically, so a proxy that only checks for the header's presence does not mitigate it. ## Impact An unauthenticated attacker can flood any public `upgradeWebSocket` route with malformed-key upgrade requests, causing unbounded memory growth and eventual loss of availability. No confidentiality or integrity impact. Reported by @TarPeg007.

CVE-2026-73565 Affected @hono/node server Versions

1 component(s)
Fixed Versions:
2.0.10
Product / Package Ecosystem Affected Versions Fixed Version
@hono/node-server
npm
≥ 2.0.0
< 2.0.10
2.0.10

References

Frequently Asked Questions

What is CVE-2026-73565?
CVE-2026-73565 is a security vulnerability in @hono/node server involving Unauthenticated memory-leak DoS via aborted WebSocket handshake under CWE-770: Allocation of Resources Without Limits or Throttling.
Which @hono/node server versions are affected?
Affected versions include releases prior to 2.0.10 across affected packages: @hono/node-server.
What version fixes CVE-2026-73565?
Upgrading to 2.0.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @hono/node-server affected?
Yes, @hono/node-server is affected in releases prior to 2.0.10. Upgrade your dependency to 2.0.10 or later.
What is the CVSS score of CVE-2026-73565?
CVE-2026-73565 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-73565?
CVE-2026-73565 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check npm dependencies for CVE-2026-73565?
Run the dependency tree command: 'npm ls @hono/node-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9mqv-5hh9-4cgg",
  "modified" : "2026-08-13T17:37:34Z",
  "published" : "2026-07-21T22:04:27Z",
  "aliases" : [ "CVE-2026-73565" ],
  "summary" : "Node.js Adapter for Hono: Unauthenticated memory-leak DoS via aborted WebSocket handshake",
  "details" : "## Summary\n\nA WebSocket upgrade request to an `upgradeWebSocket` route with a missing or malformed `Sec-WebSocket-Key` header leaks memory permanently. The request's `IncomingMessage` is retained in an internal map and a pending promise is never settled, even though no connection is established. Since the route is reachable pre-handshake without authentication, an unauthenticated attacker can flood it to gradually exhaust memory.\n\n## Details\n\nThe built-in WebSocket helper cleans up its internal map only on a successful handshake or when the route guard rejects the request. When `ws` aborts the handshake because `Sec-WebSocket-Key` is missing or malformed, no `connection` event is emitted, so neither cleanup path runs and the entry is retained forever. A present-but-malformed key leaks identically, so a proxy that only checks for the header's presence does not mitigate it.\n\n## Impact\n\nAn unauthenticated attacker can flood any public `upgradeWebSocket` route with malformed-key upgrade requests, causing unbounded memory growth and eventual loss of availability. No confidentiality or integrity impact.\n\nReported by @TarPeg007.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@hono/node-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.10"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.0.9"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/honojs/node-server/security/advisories/GHSA-9mqv-5hh9-4cgg"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/honojs/node-server/commit/3a21938c418340e980cb7ffa88e78369f78392d1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/honojs/node-server"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/honojs/node-server/releases/tag/v2.0.10"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-401", "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-21T22:04:27Z",
    "nvd_published_at" : null
  }
}