{"id":"CVE-2026-39408","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-39408","generatedAt":"2026-10-28T00:14:48.985Z","title":"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.","description":"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.","published":"2026-04-08T15:16:15.000Z","lastModified":"2026-07-24T21:10:00.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":5.9,"severity":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-22"],"affected":["hono/hono"],"epss":{"score":0.00504,"percentile":0.42798,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.50%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/honojs/hono/commit/b470278920fffcfd6d76002755d6db53db827679","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/honojs/hono/releases/tag/v4.12.12","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/honojs/hono/security/advisories/GHSA-xf4j-xp2r-rqqx","tags":["Exploit","Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-39408","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}