Skip to main content
← All vulnerabilities
CVE-2026-39407GHSA-WMMM-F939-6G9C

Hono has a middleware bypass via repeated slashes in serveStatic

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • honojs hono

    fixed in 4.12.12

  • hononpm

    fixed in 4.12.12

References 3

GitHub · honojs/hono