CVE-2026-118663
published medium CVSS 3.1 · 5.3@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| honojs | — | node-server> = 1.19.10, < 2.1.3 | Affected | Not stated | GitHub_M |
Description
@hono/node-server allows running the Hono application on Node.js. From 1.19.10 until 2.1.3, serveStatic decodes a request path a second time after Hono has already decoded it for routing, so a malformed percent-encoded sequence can make route middleware evaluate an encoded path while static file resolution uses a different directory. An unauthenticated attacker can bypass middleware mounted on a protected static prefix and read a file inside the configured static root, although the flaw does not permit traversal outside that root. This issue is fixed in version 2.1.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| honojs | node-server | > = 1.19.10, < 2.1.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-174 CWE-174: Double Decoding of the Same Data
References
3Provider assertions
2GitHub_M · cna
@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d42bbc42c6c7eccd10d4fcfa06df7e6caf63998bf6525d0cc2250ab32dc8549
- Ingested
- 29 Oct 2026, 18:35:42 UTC
- Source record
- Official CVE record