Back to CVE records
Medium 5.9Published Apr 8, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects honojs hono and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.9 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-22
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Apr 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
honojs hono
honojs:hono (from the name)
before 4.12.12
CNA record
hono hono
hono:hono
from 4.0.0 through 4.12.11
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.