Home

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.

PUBLISHED Reserved 2026-04-07 | Published 2026-04-08 | Updated 2026-04-08 | Assigner GitHub_M




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 4.12.12
affected

References

github.com/...s/hono/security/advisories/GHSA-wmmm-f939-6g9c

github.com/...ommit/9aff14bd727f8b0435c963363fd803260e7b8e3c

github.com/honojs/hono/releases/tag/v4.12.12

cve.org (CVE-2026-39407)

nvd.nist.gov (CVE-2026-39407)

Download JSON