CVE-2026-39408CWE-22

Hono has a path traversal in toSSG() allows writing files outside the output directory

Medium · published April 8, 2026

CVSS v4.0
5.9
EPSS
0%
Percentile
38.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.9 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00450 · 38.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-08T14:42Z
EPSS history
Timeline
  • 08 APR 14:42Z
    Hono has a path traversal in toSSG() allows writing files outside the output directory
    cvelistv5