Path traversal in hono - #VU146049
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to overwrite files outside the intended output directory.
The vulnerability exists due to path traversal in the toSSG() static site generation function when processing route parameter values supplied through ssgParams during static site generation. A remote attacker can supply crafted route parameter values containing consecutive parent-directory segments to overwrite files outside the intended output directory.
This issue affects build-time static site generation only, and applications whose ssgParams values are entirely developer-controlled are not affected. User interaction is required to generate the static site from untrusted route parameter values.