Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M

CVE-2026-39406@hono/node-server has a middleware bypass via repeated slashes in serveStatic

Medium 5.3

In plain English

A medium-severity path traversal in node-server from honojs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 67.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

@hono/node-server allows running the Hono application on Node.js. Prior to 1.19.13, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 1.19.13.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@hono/node-server1.19.13GHSA-92pp-h63x-v22m

Affected products (as reported)

VendorProductVersions
honojs node-server < 1.19.13

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References