hono is vulnerable to Path Traversal
59
CVE Score
Medium
Path Traversal
The serve-static middleware rejects dot-segment and double-separator paths but allowed a lone backslash in the decoded filename. On Windows the path resolver treats backslash as a separator, so a single URL segment containing an encoded backslash can resolve into a nested protected file. An unauthenticated attacker can read static files behind prefix-mounted guards without escaping the configured root. The guard now rejects any decoded path containing a backslash separator.
Upgrade the hono library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you serve static files on Windows hosts using serve-static with prefix-mounted middleware guards.
0.0.1 - 4.12.24
Fixed in 4.12.25hono is vulnerable to Path Traversal in versions 0.0.1 - 4.12.24.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.