Path Traversal in Hono Node-Server
CVE-2026-39406
@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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (30.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Hono Node-server
- Honojs Node-server — versions < 1.19.13
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-39406?
- CVE-2026-39406 is a medium-severity vulnerability in Hono Node-Server, classified under Path Traversal. CVSS score: 5.3/10. Published 2026-04-08.
- How severe is CVE-2026-39406?
- Medium severity. CVSS v3 base score is 5.3 out of 10.