Hono contains a flaw in URL path parsing, potentially leading to path confusion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| honojs | hono | 4.8.0 to before 4.9.6 | 4.9.6 | Patch available | CNA |
| — | hono (npm) | 4.8.0 to before 4.9.6 | 4.9.6 | Patch available | GHSA-9hp6-4448-45g2 |
- hono Vendorhonojs Affected 4.8.0 to before 4.9.6 Fixed in 4.9.6 Patch available CNA
- hono (npm) Vendor— Affected 4.8.0 to before 4.9.6 Fixed in 4.9.6 Patch available GHSA-9hp6-4448-45g2
Remediation
- Fix · CNA hono (honojs) Fixed in 4.9.6
- Fix · GHSA-9hp6-4448-45g2 hono (npm) Fixed in 4.9.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-58362
- 2026-10-03 Alias added: GHSA-9hp6-4448-45g2
References
More honojs Hono vulnerabilities
- TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
- TI-2024-32610 Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header. CVSS 3.1MEDIUM 5.9
- TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
- TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-22076 Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo CVSS 3.1HIGH 8.2
- TI-2026-18334 JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback) CVSS 3.1HIGH 8.2
Sources
- CVE-2025-58362 · CVE Program
- CVE-2025-58362 · NVD
- FIRST EPSS
- GHSA-9hp6-4448-45g2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences