Path Traversal Vulnerability in Hono Web Application Framework by Hono
CVE-2026-39408
5.9MEDIUM
What is CVE-2026-39408?
The Hono Web application framework, utilized for JavaScript runtime environments, has a vulnerability related to path traversal in its toSSG() function. This flaw allows unauthorized file writes outside the designated output directory during static site generation. By providing specially crafted dynamic route parameters, attackers can create file paths that bypass the output directory restrictions, potentially compromising the integrity of the application's file system. The issue has been addressed in version 4.12.12.
Affected Version(s)
hono < 4.12.12
