{"id":"CVE-2025-58362","summary":"Hono contains a flaw in URL path parsing, potentially leading to path confusion","details":"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.","aliases":["GHSA-9hp6-4448-45g2"],"modified":"2026-08-12T03:51:38.801669136Z","published":"2025-09-04T23:56:13.983Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-706"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58362.json"},"references":[{"type":"WEB","url":"https://github.com/honojs/hono/releases/tag/v4.9.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58362.json"},{"type":"ADVISORY","url":"https://github.com/honojs/hono/security/advisories/GHSA-9hp6-4448-45g2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58362"},{"type":"FIX","url":"https://github.com/honojs/hono/commit/1d79aedc3f82d8c9969b115fe61bc4bd705ec8de"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/honojs/hono","events":[{"introduced":"946fcf488f3909b1f5444f70f236f0c5db78636b"},{"fixed":"7f4311c010dbd15bd25e16551ecf58059887d105"},{"fixed":"1d79aedc3f82d8c9969b115fe61bc4bd705ec8de"}],"database_specific":{"extracted_events":[{"introduced":"4.8.0"},{"fixed":"4.9.6"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*"}}],"versions":["v4.9.5","v4.9.4","v4.9.3","v4.9.2","v4.9.1","v4.9.0","v4.8.12","v4.8.11","v4.8.10","v4.8.9","v4.8.8","v4.8.7","v4.8.6","v4.8.5","v4.8.4","v4.8.3","v4.8.2","v4.8.1","v4.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58362.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}