{"answers":{"affected":"2 open source packages ship an affected version, including hono.","exploited":"There is no known exploitation of CVE-2026-84365 in the wild and no public exploit code.","fix":"Upgrade hono to 4.13.5 or later.","what":"CVE-2026-84365 is a medium-severity path traversal vulnerability in honojs hono, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-84365 and fix it if it is affected.\n\nWhat it is: CVE-2026-84365 is a medium-severity path traversal vulnerability in honojs hono, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-84365 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hono (npm): affected all versions; fixed in 4.13.5\n- hono (npm): affected all versions; fixed in 4.13.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-84365/ (Markdown: https://insights.sbomify.com/CVE-2026-84365/index.md)","id":"CVE-2026-84365","markdown":"https://insights.sbomify.com/CVE-2026-84365/index.md","name":"CVE-2026-84365","record":{"aliases":["CLEANSTART-2026-UQ77202","ECHO-a753-f273-abba","GHSA-gqvv-2mrq-wpjv","MINI-5qpr-7mqh-mh78","MINI-629w-9c48-v78m","MINI-6jxh-5vgh-6f7w","MINI-964r-8g5f-44rw","MINI-f85r-vgqg-45p3","MINI-g62p-qcqw-cvvg","MINI-mvpg-5fm7-xjpp","MINI-pggg-5xjg-2xj7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript web framework","requires_auth":"none","summary":"Attackers can write files outside the output directory during static site generation if route parameters are untrusted, potentially altering deployment artifacts.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory","id":"CVE-2026-84365","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Scrapy: S3DownloadHandler sends signed S3 requests over plaintext HTTP by default","id":"CVE-2026-84366"},"packages":[{"ecosystem":"npm","fixed":["4.13.5"],"introduced":["0"],"last_affected":[],"package":"hono","purl":null,"source":"GHSA-gqvv-2mrq-wpjv"},{"ecosystem":"npm","fixed":["4.13.5"],"introduced":["0"],"last_affected":[],"package":"hono","purl":"pkg:npm/hono","source":"GHSA-gqvv-2mrq-wpjv"}],"prev":{"headline":"Hono: Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion","id":"CVE-2026-84364"},"products":["hono"],"published":"2026-09-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-04","vendors":["honojs"]},"summary":"Attackers can write files outside the output directory during static site generation if route parameters are untrusted, potentially altering deployment artifacts.","url":"https://insights.sbomify.com/CVE-2026-84365/"}