Path Handling Inconsistency in Hono Node.js Application by Hono
CVE-2026-39406

5.3MEDIUM

Key Information:

Vendor

Honojs

Vendor
CVE Published:
8 April 2026

What is CVE-2026-39406?

The Hono Node.js application prior to version 1.19.13 contains a path handling inconsistency that affects the serveStatic functionality. Users can inadvertently access protected static files by utilizing repeated slashes (//) in the request path. This leads to a scenario where authorization middleware, typically applied via route-based patterns (e.g., /admin/*), fails to correctly match paths containing these repeated slashes. Instead, the serveStatic function resolves these slashes, bypassing intended access controls. This vulnerability has been addressed in the release of version 1.19.13.

Affected Version(s)

node-server < 1.19.13

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.