high7.5
CVE-2026-39408
Hono is a Web application framework that provides support for any JavaScript runtime.
Impact
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path traversal issue in toSSG() allows files to be written outside the configured output directory during static site generation. When using dynamic route parameters via ssgParams, specially crafted values can cause generated file paths to escape the intended output directory. This vulnerability is fixed in 4.12.12.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | hono | >= 4.0.0, <= 4.12.11 | 4.12.12 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hono | Hono | from 4.0.0 through 4.12.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-xf4j-xp2r-rqqx
- https://github.com/honojs/hono/security/advisories/GHSA-xf4j-xp2r-rqqx
- https://github.com/honojs/hono/commit/b470278920fffcfd6d76002755d6db53db827679
- https://github.com/honojs/hono/releases/tag/v4.12.12
- https://nvd.nist.gov/vuln/detail/CVE-2026-39408