{"id":"CVE-2025-58362","published":"2025-09-04T23:56:13Z","modified":"2025-09-05T16:05:20Z","title":"Hono contains a flaw in URL path parsing, potentially leading to path confusion","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"Hono is a Web application framework that provides support for any JavaScript runtime. Versions 4.8.0 through 4.9.5 contain a flaw in the getPath utility function which could allow path confusion and potential bypass of proxy-level ACLs (e.g. Nginx location blocks). The original implementation relied on fixed character offsets when parsing request URLs. Under certain malformed absolute-form Request-URIs, this could lead to incorrect path extraction depending on the application and environment. If proxy ACLs are used to protect sensitive endpoints such as /admin, this flaw could have allowed unauthorized access. The confidentiality impact depends on what data is exposed: if sensitive administrative data is exposed, the impact may be high, otherwise it may be moderate. This issue is fixed in version 4.9.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0058,"percentile":0.48635,"provenance":"source"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-9hp6-4448-45g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/1d79aedc3f82d8c9969b115fe61bc4bd705ec8de","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/releases/tag/v4.9.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":[">= 4.8.0, < 4.9.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-05T16:05:11.603475Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":[">=4.8.0, <4.9.6"],"patched":["4.9.6"],"from":["GHSA-9hp6-4448-45g2"],"provenance":"source"}],"summary":{"text":"A flaw in the getPath utility of the Hono web application framework (honojs/hono) mis-extracts paths from URLs, which can cause path confusion. An attacker sending a specially malformed absolute-form Request-URI, with no authentication or user interaction and over the network, could potentially bypass proxy-level access controls such as Nginx location blocks protecting endpoints like /admin, depending on the application and environment.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:28Z"},"euvd":{"id":"EUVD-2025-26876","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-honojs-hono-cve-2021-22964","children":[{"from":"CVE-2025-58362","to":"CVE-2026-29045","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/utils/url.ts"],"commits":["https://github.com/honojs/hono/commit/1d79aedc3f82d8c9969b115fe61bc4bd705ec8de","https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3"],"basis":"rarely changed file"}]},{"from":"CVE-2025-58362","to":"CVE-2026-84363","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/utils/url.ts"],"commits":["https://github.com/honojs/hono/commit/1d79aedc3f82d8c9969b115fe61bc4bd705ec8de","https://github.com/honojs/hono/commit/9c28d724c5a7fb086ebaa812fdc1ad6e957c63bc"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-32869","published":"2024-04-23","fixed":"4.2.7","kev":false},{"cve":"CVE-2024-43787","published":"2024-08-22","fixed":"4.5.8","kev":false},{"cve":"CVE-2024-48913","published":"2024-10-15","fixed":"4.6.5","kev":false},{"cve":"CVE-2025-58362","published":"2025-09-04","fixed":"4.9.6","kev":false},{"cve":"CVE-2025-59139","published":"2025-09-12","fixed":"4.9.7","kev":false,"link":{"from":"CVE-2025-58362","to":"CVE-2025-59139","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:hono","fromFixed":"4.9.6","toFixed":"4.9.7","daysApart":8}]}},{"cve":"CVE-2025-62610","published":"2025-10-22","fixed":"4.10.2","kev":false},{"cve":"CVE-2025-71381","published":"2026-06-30","fixed":"4.10.3","kev":false}],"package":"npm:hono"}}