Path traversal in hono - CVE-2026-39408
Published: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to write files outside the intended output directory.
The vulnerability exists due to path traversal in toSSG() when constructing output file paths from dynamic route parameters provided via ssgParams. A remote attacker can supply specially crafted parameter values containing traversal sequences to write files outside the intended output directory.
This issue is limited to build-time static site generation and does not affect request-time routing.