CVE-2026-111757: Hono `serveStatic` Decodes The Request Path Vulnerability
MODERATECVE-2026-111757 is a MODERATE (CVSS 5.3) `servestatic` decodes the request path vulnerability (CWE-174: Double Decoding of the Same Data) affecting Hono libraries in the npm ecosystem. The issue involves `servestatic` decodes the request path a second time, leading to bypass of middleware on static paths. Remediation is available by upgrading affected packages to version 4.13.11.
CVE-2026-111757 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-111757
To remediate this vulnerability, upgrade all affected Hono dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install hono@4.13.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls hono
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-111757, inspect your project dependencies using npm:
npm ls hono
Analyze the terminal output to locate any version of Hono in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.13.11), your application is affected.
Note: The npm ls hono command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-174: Double Decoding of the Same Data, where the product decodes the same input twice, which can limit the effectiveness of any protection mechanism that occurs in between the decoding operations. In Hono, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-111757 Affected Hono Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hono
|
npm |
≥ 4.12.4
< 4.13.11
|
4.13.11
|
References
Frequently Asked Questions
What is CVE-2026-111757?
Which Hono versions are affected?
What version fixes CVE-2026-111757?
Is hono affected?
What is the CVSS score of CVE-2026-111757?
What CWE is associated with CVE-2026-111757?
How can I check npm dependencies for CVE-2026-111757?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5r4p-p66f-jhc7",
"modified" : "2026-10-20T14:36:11Z",
"published" : "2026-10-20T14:36:11Z",
"aliases" : [ "CVE-2026-111757" ],
"summary" : "Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths",
"details" : "### Summary\n\n`serveStatic` decodes the request path a second time after Hono has already decoded it for routing. A crafted request can be routed as one path and served as another, so middleware mounted on a static prefix does not run for a file under that prefix.\n\n### Details\n\nHono decodes the request path once before routing. `serveStatic` decoded it again before resolving the file. With a malformed percent-encoded sequence, the first decode leaves part of the path encoded, the router matches the encoded form, and the second decode resolves the real directory. The file is still resolved inside the configured root; this is not a traversal outside it.\n\n### Impact\n\nAn unauthenticated attacker may reach static files without the middleware on their prefix running, for example an authentication check. This affects applications that mount middleware on part of the directory served by `serveStatic`. Applications that serve only public files are not affected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "hono"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.12.4"
}, {
"fixed" : "4.13.11"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-111757"
}, {
"type" : "WEB",
"url" : "https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/honojs/hono"
}, {
"type" : "WEB",
"url" : "https://github.com/honojs/hono/releases/tag/v4.13.11"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-174" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-20T14:36:11Z",
"nvd_published_at" : "2026-10-19T18:17:00Z"
}
}