Intel

AIKIDO-2026-733153

hono is vulnerable to Path Traversal

Path TraversalGHSA-gqvv-2mrq-wpjv Published 3 days ago

65

Medium Risk

This Affects:

JShono
0.0.1 - 4.13.4
Fixed in 4.13.5
Are you affected? Scan for Free

TL;DR

Hono's toSSG() static site generator normalizes route parameter values before writing output files, but the normalization does not fully collapse consecutive parent-directory segments supplied through ssgParams. Crafted route parameter values can therefore escape the configured output directory and write generated files to arbitrary locations on disk. This is an incomplete fix for an earlier path traversal in the same function that remained exploitable through chained ../ segments. The patch strengthens containment so generated paths stay within the configured output directory.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use toSSG() for static site generation with ssgParams route parameter values derived from untrusted input.

Background info

hono is vulnerable to Path Traversal in versions 0.0.1 - 4.13.4.

How to fix this

Upgrade the hono library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform