Skip to main content
← All vulnerabilities
CVE-2026-39408GHSA-XF4J-XP2R-RQQX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • honojs hono

    fixed in 4.12.12

  • hononpm

    From 4.0.0 · fixed in 4.12.12

References 3

GitHub · honojs/hono