Path traversal in hono - CVE-2026-54286
Published: July 21, 2026
hono
Detailed vulnerability description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to 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 adminsecret.txt into a nested file under the root and serves it. A remote attacker can send a specially crafted HTTP request and read static files meant to be protected behind prefix-mounted middleware.