medium5.3
CVE-2026-39407
Hono is a Web application framework that provides support for any JavaScript runtime.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | hono | < 4.12.12 | 4.12.12 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hono | Hono | through 4.12.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wmmm-f939-6g9c
- https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c
- https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c
- https://github.com/honojs/hono/releases/tag/v4.12.12
- https://nvd.nist.gov/vuln/detail/CVE-2026-39407