Vulnerabilities · 2025 · Hono
CVE-2025-58362
Hono vulnerability
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.
Affected products
Hono. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hono runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/honojs/hono/security/advisories/GHSA-9hp6-4448-45g2 · Vendor Advisory
- github.com/honojs/hono/commit/1d79aedc3f82d8c9969b115fe61bc4bd705ec8de · Patch
- github.com/honojs/hono/releases/tag/v4.9.6
- nvd.nist.gov/vuln/detail/CVE-2025-58362
- github.com/advisories/GHSA-9hp6-4448-45g2
- nvd.nist.gov/vuln/detail/CVE-2025-58362
- cve.org/CVERecord?id=CVE-2025-58362
More vulnerabilities in Hono products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.