Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39407.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.12.11"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9aff14bd727f8b0435c963363fd803260e7b8e3c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.12.12",
"range": [
{
"fixed": "c37ba26da9709ad03b803d1972773ed864b7e60d"
}
],
"source": "REFERENCES_TAG"
}
]
}