CVE-2026-39406
Medium · 5.3CVSS
5.3
EPSS
0.4%
Published
Apr 8, 2026
CISA due date
—
Cloudanix analysis
A software bug could let outsiders reach files that should require permission, potentially exposing private information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
A path normalization inconsistency in serveStatic allows requests containing repeated slashes (//) to bypass route-based authorization middleware, resulting in unauthorized access to protected static files.
Why it matters to the business
Attackers may obtain sensitive static files intended to be restricted behind authentication or authorization, leading to potential data exposure and compliance risks.
How an attack unfolds
An attacker identifies routes using middleware such as /admin/* for protection, then issues HTTP requests to static files with repeated slashes in the path; the middleware fails to match while serveStatic normalizes and serves the content.
How to fix it
Upgrade @hono/node-server to version 1.19.13 or later.
How to confirm the fix worked
Confirm the package version is 1.19.13 or newer and test that double-slash requests to protected static paths now trigger middleware authorization.
Typical attack path
- Map application routes that protect static files with middleware
- Craft requests inserting repeated slashes into protected paths
- Issue the request and confirm file contents are returned without authorization
How to detect it
Review web access logs for successful responses to static file paths containing repeated slashes, particularly paths that should have been blocked by middleware.
- GET requests with '//' in URL paths to static files
- Access logs showing 200 responses for protected paths containing double slashes
What your security team should do
- Upgrade @hono/node-server to 1.19.13 immediately
- Audit all static file middleware configurations for similar path-handling assumptions
- Add defense-in-depth access controls for any sensitive static content
The record
@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
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @hono/node-server | 0 | 1.19.13 |
Related vulnerabilities
- GHSA-92pp-h63x-v22m @hono/node-server: Middleware bypass via repeated slashes in serveStatic Same vulnerability
- CVE-2026-29087 @hono/node-server allows running the Hono application on Node.js. Also affects @hono/node-server
- GHSA-wc8c-qw6v-h7f6 @hono/node-server has authorization bypass for protected static paths via encoded slashes… Also affects @hono/node-server
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22
- CVE-2026-61702 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-22
- CVE-2026-104871 The Angular SSR is a server-rise rendering tool for Angular applications. CWE-22