Vulnerabilities in pkg:npm/hono
PACKAGECVE-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.
pkg:npm/hono
Vulnerability advisories affecting package pkg:npm/hono. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-5r4p-p66f-jhc7 | CVE-2026-111757 | MODERATE | Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths |
| GHSA-v8w9-8mx6-g223 | CVE-2026-56763 | MODERATE | Hono vulnerable to Prototype Pollution possible through __proto__ key allowed in parseBody({ dot: true }) |
| GHSA-3wcj-gjvf-fvch | - | MODERATE | Duplicate Advisory: Hono vulnerable to Prototype Pollution possible through __proto__ key allowed in parseBody({ dot: true }) |
| GHSA-q7jf-gf43-6x6p | CVE-2025-71381 | MODERATE | Hono vulnerable to Vary Header Injection leading to potential CORS Bypass |
| GHSA-cw3j-28qq-x3xh | - | MODERATE | Duplicate Advisory: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass |
| GHSA-hxh3-vqpv-xpqv | CVE-2026-93981 | MODERATE | hono/jsx renders plain strings unescaped in boundary components, leading to XSS |
| GHSA-6623-4q32-82v8 | - | LOW | Duplicate Advisory: hono/jsx renders plain strings unescaped in boundary components, leading to XSS |
| GHSA-26pp-8wgv-hjvm | CVE-2026-56762 | MODERATE | Hono missing validation of cookie name on write path in setCookie() |
| GHSA-55cm-p4ww-685g | - | MODERATE | Duplicate Advisory: Hono missing validation of cookie name on write path in setCookie() |
| GHSA-gqvv-2mrq-wpjv | CVE-2026-84365 | MODERATE | Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory |
| GHSA-g6gw-c38x-mqfc | CVE-2026-84364 | MODERATE | Hono: Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion |
| GHSA-crvj-82cr-hjcx | CVE-2026-84363 | MODERATE | Hono: Query parser reads parameters after the URL fragment, causing cache-key and proxy interpretation differentials |
| GHSA-f23p-vx2j-j53r | CVE-2026-71850 | MODERATE | Hono: `memo()` retains SSR output across requests, leading to cross-user data disclosure |
| GHSA-79qm-7rj5-m7r9 | CVE-2026-71849 | LOW | Hono: Proxy Helper does not remove response headers listed in the `Connection` header |
| GHSA-54fx-42gc-7vw4 | CVE-2026-71848 | MODERATE | Hono: Algorithmic Complexity DoS in Language Middleware |
| GHSA-8j4g-w8fx-2239 | CVE-2026-69207 | MODERATE | Hono: ReDoS in CORS middleware via Access-Control-Request-Headers |
| GHSA-hvrm-45r6-mjfj | CVE-2026-59896 | MODERATE | hono/jsx does not isolate context per request, leading to cross-request data disclosure |
| GHSA-w62v-xxxg-mg59 | CVE-2026-59895 | MODERATE | Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility |
| GHSA-xgm2-5f3f-mvvc | CVE-2026-59897 | MODERATE | Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication |
| GHSA-wwfh-h76j-fc44 | CVE-2026-54286 | MODERATE | hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`) |
| GHSA-88fw-hqm2-52qc | CVE-2026-54290 | HIGH | hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard |
| GHSA-wgpf-jwqj-8h8p | CVE-2026-54289 | MODERATE | hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest |
| GHSA-rv63-4mwf-qqc2 | CVE-2026-54288 | MODERATE | hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length` |
| GHSA-j6c9-x7qj-28xf | CVE-2026-54287 | MODERATE | hono: AWS Lambda adapter merges multiple `Set-Cookie` headers into one value, dropping cookies on ALB single-header and Lattice |
| GHSA-458j-xx4x-4375 | CVE-2026-56761 | MODERATE | hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR |
| GHSA-2gcr-mfcq-wcc3 | CVE-2026-47676 | MODERATE | Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths |
| GHSA-xrhx-7g5j-rcj5 | CVE-2026-47674 | MODERATE | Hono: IP Restriction bypasses static deny rules for non-canonical IPv6 |
| GHSA-3hrh-pfw6-9m5x | CVE-2026-47675 | MODERATE | Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection |
| GHSA-f577-qrjj-4474 | CVE-2026-47673 | MODERATE | Hono: JWT middleware accepts any Authorization scheme, not only Bearer |
| GHSA-hm8q-7f3q-5f36 | CVE-2026-44459 | LOW | Hono has improper validation of NumericDate claims (exp, nbf, iat) in JWT verify() |
| GHSA-p77w-8qqv-26rm | CVE-2026-44457 | MODERATE | Hono's Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage |
| GHSA-9vqf-7f2p-gf9v | CVE-2026-44456 | MODERATE | Hono: bodyLimit() can be bypassed for chunked / unknown-length requests |
| GHSA-69xw-7hcm-h432 | CVE-2026-44455 | MODERATE | hono/jsx has Unvalidated JSX Tag Names that May Allow HTML Injection |
| GHSA-qp7p-654g-cw7p | CVE-2026-44458 | MODERATE | Hono has CSS Declaration Injection via Style Object Values in JSX SSR |
| GHSA-xpcf-pg52-r92g | CVE-2026-39409 | MODERATE | Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses |
| GHSA-r5rp-j6wh-rvv4 | CVE-2026-39410 | MODERATE | Hono: Non-breaking space prefix bypass in cookie name handling in getCookie() |
| GHSA-xf4j-xp2r-rqqx | CVE-2026-39408 | MODERATE | Hono: Path traversal in toSSG() allows writing files outside the output directory |
| GHSA-wmmm-f939-6g9c | CVE-2026-39407 | MODERATE | Hono: Middleware bypass via repeated slashes in serveStatic |
| GHSA-5pq2-9x2x-5p6w | CVE-2026-29086 | MODERATE | Hono Vulnerable to Cookie Attribute Injection via Unsanitized domain and path in setCookie() |
| GHSA-p6xx-57qc-3wxr | CVE-2026-29085 | MODERATE | Hono Vulnerable to SSE Control Field Injection via CR/LF in writeSSE() |
| GHSA-q5qw-h33p-qvwr | CVE-2026-29045 | HIGH | Hono vulnerable to arbitrary file access via serveStatic vulnerability |
| GHSA-xh87-mx6m-69f3 | CVE-2026-27700 | HIGH | Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo |
| GHSA-gq3j-xvxp-8hrf | - | LOW | Hono added timing comparison hardening in basicAuth and bearerAuth |
| GHSA-w332-q679-j88p | CVE-2026-24473 | MODERATE | Hono has an Arbitrary Key Read in Serve static Middleware (Cloudflare Workers Adapter) |
| GHSA-6wqw-2p9w-4vw4 | CVE-2026-24472 | MODERATE | Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception |
| GHSA-r354-f388-2fhh | CVE-2026-24398 | MODERATE | Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing |
| GHSA-9r54-q6cx-xmh5 | CVE-2026-24771 | MODERATE | Hono vulnerable to XSS through ErrorBoundary component |
| GHSA-3vhc-576x-3qv4 | CVE-2026-22818 | HIGH | Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback) |
| GHSA-f67f-6cw9-8mq4 | CVE-2026-22817 | HIGH | Hono JWT Middleware's JWT Algorithm Confusion via Unsafe Default (HS256) Allows Token Forgery and Auth Bypass |
| GHSA-m732-5p4w-x69g | CVE-2025-62610 | HIGH | Hono Improper Authorization vulnerability |
| GHSA-92vj-g62v-jqhh | CVE-2025-59139 | MODERATE | Hono has Body Limit Middleware Bypass |
| GHSA-9hp6-4448-45g2 | CVE-2025-58362 | HIGH | Hono's flaw in URL path parsing could cause path confusion |
| GHSA-rpfr-3m35-5vx5 | CVE-2024-43787 | LOW | Hono CSRF middleware can be bypassed using crafted Content-Type header |
| GHSA-2234-fmw7-43wr | CVE-2024-48913 | MODERATE | Hono allows bypass of CSRF Middleware by a request without Content-Type header. |
| GHSA-3mpf-rcc7-5347 | CVE-2024-32869 | MODERATE | Hono vulnerable to Restricted Directory Traversal in serveStatic with deno |
| GHSA-f6gv-hh8j-q8vq | CVE-2023-50710 | MODERATE | Named path parameters can be overridden in TrieRouter |
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"
}
}