Skip to main content
← All vulnerabilities
CVE-2026-29045GHSA-Q5QW-H33P-QVWR

Hono: Arbitrary file access via serveStatic vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.4
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 version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4.

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.4

  • hononpm

    fixed in 4.12.4

References 2

GitHub · honojs/hono