CVE-2026-54286Medium· 5.9▾ Sunlithono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
▾ Sunlit zone — Low / medium · no exploitation signal
impact 32.5 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 7.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.3%
0.3% → 0.4%
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. Directory escape (..) remains blocked.
The router splits paths only on /, so /admin%5Csecret.txt is one segment and middleware on /admin/* does not run. The serve-static guard rejects ./.. and consecutive separators but lets a lone \ through; on Windows the file resolver re-splits it into the protected subtree.
This affects Windows hosts serving static files via the Node, Bun, or Deno adapters that guard a static subtree with prefix-mounted middleware.
An unauthenticated attacker can read static files under a middleware-guarded prefix on Windows hosts. The read stays within the configured root; escape outside the root is not possible.
hono < 4.12.25Upgrade to a patched release:
hono 4.12.25Connected by shared product, vendor, weakness, or advisory.
CVE-2026-84365Medium· 6.5Hono is a Web application framework that provides support for any JavaScript runtime
CVE-2026-84363Medium· 5.9Hono is a Web application framework that provides support for any JavaScript runtime
CVE-2026-84364Medium· 5.3Hono is a Web application framework that provides support for any JavaScript runtime
CVE-2026-71848Medium· 5.3Hono is a Web application framework that provides support for any JavaScript runtime
CVE-2026-71849Low· 3.7Hono is a Web application framework that provides support for any JavaScript runtime
CVE-2026-71850Medium· 4.8Hono is a Web application framework that provides support for any JavaScript runtime