Read the docs
TI-2026-28390 Aliases CVE-2026-39408GHSA-xf4j-xp2r-rqqx

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

Priority LOW 33CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00513 43rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed hono (honojs): 4.12.12hono (npm): 4.12.12

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
honojshonobefore 4.12.124.12.12Patch availableCNA
—hono (npm)4.0.0 to before 4.12.124.12.12Patch availableGHSA-xf4j-xp2r-rqqx
  • hono Vendorhonojs Affected before 4.12.12 Fixed in 4.12.12 Patch available CNA
  • hono (npm) Vendor— Affected 4.0.0 to before 4.12.12 Fixed in 4.12.12 Patch available GHSA-xf4j-xp2r-rqqx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*4.0.0 – 4.12.11Vulnerablehonojs
  • cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* Versions 4.0.0 – 4.12.11 Vulnerable ·honojs

Remediation

  • Fix · CNA hono (honojs) Fixed in 4.12.12
  • Fix · GHSA-xf4j-xp2r-rqqx hono (npm) Fixed in 4.12.12 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39408
  2. 2026-10-03 Alias added: GHSA-xf4j-xp2r-rqqx

References

  • TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
  • TI-2024-32610 Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header. CVSS 3.1MEDIUM 5.9
  • TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
  • TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2026-22076 Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo CVSS 3.1HIGH 8.2
  • TI-2026-18334 JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback) CVSS 3.1HIGH 8.2
See all 33 →

Sources