CVE-2025-58362

Source
https://cve.org/CVERecord?id=CVE-2025-58362
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58362.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-58362
Aliases
Published
2025-09-04T23:56:13Z
Modified
2026-10-21T02:31:06Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

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

Affected packages

Git / github.com/honojs/hono

Affected ranges

Type
GIT
Repo
https://github.com/honojs/hono
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "4.8.0"
                },
                {
                    "fixed":  "4.9.6"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "1d79aedc3f82d8c9969b115fe61bc4bd705ec8de"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v4.9.6",
            "range":  [
                {
                    "fixed":  "7f4311c010dbd15bd25e16551ecf58059887d105"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v4.*
v4.8.0
v4.8.1
v4.8.10
v4.8.11
v4.8.12
v4.8.2
v4.8.3
v4.8.4
v4.8.5
v4.8.6
v4.8.7
v4.8.8
v4.8.9
v4.9.0
v4.9.1
v4.9.2
v4.9.3
v4.9.4
v4.9.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58362.json"