@hono/node-server has a middleware bypass via repeated slashes in serveStatic
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| honojs | node-server | before 1.19.13 | 1.19.13 | Patch available | CNA |
| — | @hono/node-server (npm) | before 1.19.13 | 1.19.13 | Patch available | GHSA-92pp-h63x-v22m |
- node-server Vendorhonojs Affected before 1.19.13 Fixed in 1.19.13 Patch available CNA
- @hono/node-server (npm) Vendor— Affected before 1.19.13 Fixed in 1.19.13 Patch available GHSA-92pp-h63x-v22m
Remediation
- Fix · CNA node-server (honojs) Fixed in 1.19.13
- Fix · GHSA-92pp-h63x-v22m @hono/node-server (npm) Fixed in 1.19.13 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39406
- 2026-10-03 Alias added: GHSA-92pp-h63x-v22m
References
Advisory 2
More honojs Node-server vulnerabilities
- TI-2024-15441 @hono/node-server can't handle "double dots" in URL CVSS 3.1MEDIUM 5.3
- TI-2024-21534 @hono/node-server contains Denial of Service risk when receiving Host header that cannot be parsed CVSS 3.1HIGH 7.5
- TI-2026-23231 @hono/node-server: Authorization bypass for protected static paths via encoded slashes in Serve Static Middleware CVSS 3.1HIGH 7.5
Sources
- CVE-2026-39406 · CVE Program
- CVE-2026-39406 · NVD
- FIRST EPSS
- GHSA-92pp-h63x-v22m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences