Skip to main content
← All vulnerabilities
CVE-2026-47676GHSA-2GCR-MFCQ-WCC3

Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.21
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.21, app.mount() strips the mount prefix from the incoming request path using the raw URL pathname, while route matching is performed against the percent-decoded path. This inconsistency causes the prefix to be stripped at the wrong position when the path contains percent-encoded multi-byte characters, resulting in the mounted sub-application receiving an incorrect path. This vulnerability is fixed in 4.12.21.

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

  • hononpm

    fixed in 4.12.21

References 1

GitHub · honojs/hono