Skip to main content
← All vulnerabilities
CVE-2026-54286GHSA-WWFH-H76J-FC44

Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)

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

Summary

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on Windows hosts, an encoded backslash (%5C) in the request path decodes to \, which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static files meant to be protected behind prefix-mounted middleware. This vulnerability is fixed in 4.12.25.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • honojs hono

    fixed in 4.12.25

  • hononpm

    fixed in 4.12.25

References 1

GitHub · honojs/hono