# CVE-2026-118663: @hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-10-28T20:35:22.948Z
- Modified: 2026-10-29T19:17:18.953Z
- Also known as: GHSA-rmxm-3fg6-px4f
- Weaknesses: CWE-174
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- honojs node-server: > = 1.19.10, < 2.1.3
- @hono/node-server (npm): from 1.19.10 before 2.1.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/honojs/node-server/security/advisories/GHSA-rmxm-3fg6-px4f> (web)
- <https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f> (web)
- <https://github.com/honojs/node-server/releases/tag/v2.1.3> (web)
- <https://github.com/honojs/node-server> (package)

## Sources

- CVE List: [CVE-2026-118663](https://www.cve.org/CVERecord?id=CVE-2026-118663), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-rmxm-3fg6-px4f](https://github.com/advisories/GHSA-rmxm-3fg6-px4f), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-118663](https://nvd.nist.gov/vuln/detail/CVE-2026-118663), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-118663 · Whole record: https://cve.day/CVE-2026-118663.json · Rebuilt by cve.day 2026-11-25T22:59:47.692Z
