CVE-2026-39407
Hono: Middleware bypass via repeated slashes in serveStatic
Overview
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, 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 4.12.12.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-22
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | hono | <4.12.12 | 4.12.12 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
chainguard 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| hono | not affected | |
| gemini-cli | 0.37.0-r0 | |
| librechat | 0.8.4-r5 | |
| opensearch-dashboards-2-fips | 2.19.5-r7 | |
| opensearch-dashboards-2 | 2.19.5-r8 | |
| langfuse-fips-3 | 3.164.0-r3 |
4 more rows
minimos 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| opensearch-dashboards-2 +1 | 2.19.6-r0 | |
| openclaw | 2026.4.9-r0 | |
| mcp-filesystem | 2026.6.16-r0 | |
| trigger-dev | 4.5.4-r0 | |
| kibana-9-3 | 9.3.4-r0 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| langfuse-3 | 3.164.0-r5 |
References
- github.com https://github.com/honojs/hono
- github.com https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c
- github.com https://github.com/honojs/hono/releases/tag/v4.12.12
- github.com https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-39407
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.