6.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse dismissed (not in Nixpkgs)
Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory
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.
References
-
https://github.com/honojs/hono/security/advisories/GHSA-gqvv-2mrq-wpjv x_refsource_CONFIRM
-
https://github.com/honojs/hono/releases/tag/v4.13.5 x_refsource_MISC
Affected products
- ==< 4.13.5
Matching in nixpkgs
pkgs.kdePackages.phonon
Multi-platform sound framework for application developers
pkgs.kdePackages.phonon-vlc
VLC backend for the Phonon multimedia library
pkgs.typstPackages.phonokit
None
pkgs.python313Packages.phonopy
Modulefor phonon calculations at harmonic and quasi-harmonic levels
pkgs.python313Packages.phonors
Python module implemented in Rust for Phonopy
-
nixos-unstable -
- nixos-unstable-small 0.3.0
pkgs.python314Packages.phonopy
Modulefor phonon calculations at harmonic and quasi-harmonic levels
pkgs.python314Packages.phonors
Python module implemented in Rust for Phonopy
-
nixos-unstable -
- nixos-unstable-small 0.3.0
pkgs.typstPackages.phonokit_0_0_1
None
pkgs.typstPackages.phonokit_0_2_0
None
pkgs.typstPackages.phonokit_0_3_0
None
pkgs.typstPackages.phonokit_0_3_5
None
pkgs.typstPackages.phonokit_0_3_6
None
pkgs.typstPackages.phonokit_0_3_7
None
pkgs.typstPackages.phonokit_0_4_0
None
pkgs.typstPackages.phonokit_0_4_1
None
pkgs.typstPackages.phonokit_0_4_5
None
pkgs.typstPackages.phonokit_0_4_6
None
pkgs.typstPackages.phonokit_0_5_0
None
pkgs.typstPackages.phonokit_0_5_1
None
pkgs.typstPackages.phonokit_0_5_2
None
pkgs.typstPackages.phonokit_0_5_3
None
pkgs.typstPackages.phonokit_0_5_4
None
pkgs.typstPackages.phonokit_0_5_5
None
pkgs.typstPackages.phonokit_0_5_6
None
pkgs.typstPackages.phonokit_0_5_7
None
pkgs.typstPackages.phonokit_0_5_8
None
pkgs.python313Packages.pythonocc-core
Python wrapper for the OpenCASCADE 3D modeling kernel
-
nixos-unstable 7.9.0-unstable-2025-12-31
- nixpkgs-unstable 7.9.0-unstable-2025-12-31
- nixos-unstable-small 7.9.0-unstable-2025-12-31
-
nixos-26.05 7.9.0-unstable-2025-12-31
- nixos-26.05-small 7.9.0-unstable-2025-12-31
- nixpkgs-26.05-darwin 7.9.0-unstable-2025-12-31
pkgs.python314Packages.pythonocc-core
Python wrapper for the OpenCASCADE 3D modeling kernel
-
nixos-unstable 7.9.0-unstable-2025-12-31
- nixpkgs-unstable 7.9.0-unstable-2025-12-31
- nixos-unstable-small 7.9.0-unstable-2025-12-31
-
nixos-26.05 7.9.0-unstable-2025-12-31
- nixos-26.05-small 7.9.0-unstable-2025-12-31
- nixpkgs-26.05-darwin 7.9.0-unstable-2025-12-31
Package maintainers
-
@bkchr Bastian Köcher <nixos@kchr.de>
-
@FRidh Frederik Rietdijk <fridh@fridh.nl>
-
@LunNova Luna Nova <nixpkgs-maintainer@lunnova.dev>
-
@mjm Matt Moriarity <matt@mattmoriarity.com>
-
@K900 Ilya K. <me@0upti.me>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@peterhoeg Peter Hoeg <peter@hoeg.com>
-
@SuperSandro2000 Sandro Jäckel <sandro.jaeckel@gmail.com>
-
@ilya-fedin Ilya Fedin <fedin-ilja2010@ya.ru>
-
@nyanloutre Paul Trehiou <paul@nyanlout.re>
-
@CHN-beta Haonan Chen <chn@chn.moe>
-
@PsyanticY Psyanticy <iuns@outlook.fr>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>