Katalog CVE

CVE-2026-84365

ŚrednieCVSS 6.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.33%

Percentyl 26 - wyżej niż 26% wszystkich znanych CVE

Streszczenie

Framework Hono w wersjach od 4.12.12 do 4.13.5 zawiera niepełną poprawkę dla CVE-2026-39408 — funkcja toSSG() może nadal zapisywać pliki poza skonfigurowanym katalogiem wyjściowym, gdy parametr trasy zawiera kolejne segmenty katalogu nadrzędnego. Luka dotyczy wyłącznie generowania statycznej strony w czasie budowania, gdy wartości ssgParams nie są w pełni kontrolowane przez dewelopera.

Ocena ryzyka

Niezaufana wartość ssgParams może spowodować utworzenie lub nadpisanie plików poza katalogiem wyjściowym, co może zmienić artefakty budowania lub wynik wdrożenia. Problem występuje tylko na etapie budowania statycznej strony.

Rekomendacja

Zaktualizować Hono do wersji 4.13.5 lub nowszej oraz upewnić się, że wartości ssgParams pochodzą wyłącznie z zaufanych źródeł.

Inne podatności w Hono

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.12 until 4.13.5, the fix released for CVE-2026-39408 does not cover every traversal sequence, and toSSG() can still write files outside the configured output directory when a route parameter contains consecutive parent-directory segments. Static site generation builds each output path from the route path and values supplied through ssgParams, then verifies that the result stays inside the output directory using the same normalization routine that built the path. That routine does not fully collapse runs of consecutive parent-directory segments, allowing a path that the check accepts to resolve outside the output directory, and the check also treats output directories that differ in how they are rooted as equivalent. This arises when an application generates a static site from route parameter values it does not fully control, such as slugs from a CMS, API, or user submission. An untrusted ssgParams value can create or overwrite files elsewhere in the build environment and alter generated artifacts or deployment output. The vulnerability affects build-time static site generation only; request-time routing and applications with entirely developer-controlled ssgParams values are not affected. This issue is fixed in version 4.13.5.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS