{"answers":{"affected":"2 open source packages ship an affected version, including @hono/node-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-39406 in the wild and no public exploit code.","fix":"Upgrade @hono/node-server to 1.19.13 or later.","what":"CVE-2026-39406 is a medium-severity missing authorization vulnerability in honojs node-server, published on 8 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-39406 and fix it if it is affected.\n\nWhat it is: CVE-2026-39406 is a medium-severity missing authorization vulnerability in honojs node-server, published on 8 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-39406 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @hono/node-server (npm): affected all versions; fixed in 1.19.13\n- @hono/node-server (npm): affected all versions; fixed in 1.19.13\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-39406/ (Markdown: https://insights.sbomify.com/CVE-2026-39406/index.md)","id":"CVE-2026-39406","markdown":"https://insights.sbomify.com/CVE-2026-39406/index.md","name":"CVE-2026-39406","record":{"aliases":["CLEANSTART-2026-JS42957","CLEANSTART-2026-VJ30424","CLSA-2026-1793191261","CLSA-2026-1793207176","CLSA-2026-1793209463","ECHO-2090-9c99-5200","GHSA-92pp-h63x-v22m","MINI-3gc3-696j-976f","MINI-3qfv-wx9v-mh6c","MINI-fvg4-w4xw-c5rx","MINI-h6wc-256f-chhv","MINI-m6xv-qv8j-vxj4","MINI-mmcq-6wgp-979w","MINI-pwfj-r7fr-84rj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js web framework","requires_auth":"none","summary":"Attackers can bypass route-based authorization middleware to access protected static files by using repeated slashes in request paths.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"node-server","vendor":"hono"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"@hono/node-server allows running the Hono application on Node.js. Prior to 1.19.13, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 1.19.13.","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/node-server has a middleware bypass via repeated slashes in serveStatic","id":"CVE-2026-39406","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Hono has a middleware bypass via repeated slashes in serveStatic","id":"CVE-2026-39407"},"packages":[{"ecosystem":"npm","fixed":["1.19.13"],"introduced":["0"],"last_affected":[],"package":"@hono/node-server","purl":null,"source":"GHSA-92pp-h63x-v22m"},{"ecosystem":"npm","fixed":["1.19.13"],"introduced":["0"],"last_affected":[],"package":"@hono/node-server","purl":"pkg:npm/%40hono/node-server","source":"GHSA-92pp-h63x-v22m"}],"prev":{"headline":"Frappe has Path Transversal via SCORM","id":"CVE-2026-39405"},"products":["node-server"],"published":"2026-04-08","related":[{"cvss_score":7.5,"headline":"@hono/node-server: Authorization bypass for protected static paths via encoded slashes in Serve Static Middleware","id":"CVE-2026-29087","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":7.5,"headline":"@hono/node-server contains Denial of Service risk when receiving Host header that cannot be parsed","id":"CVE-2024-32652","kev_date_added":null,"published":"2024-04-19"},{"cvss_score":5.3,"headline":"@hono/node-server can't handle \"double dots\" in URL","id":"CVE-2024-23340","kev_date_added":null,"published":"2024-01-22"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["honojs"]},"summary":"Attackers can bypass route-based authorization middleware to access protected static files by using repeated slashes in request paths.","url":"https://insights.sbomify.com/CVE-2026-39406/"}