@HONO/NODE-SERVER · CVE-2026-126210 · Package
FIX → 2.1.6 · 1.19.18
The @hono/node-server package turns a backslash in a request path into a slash, so a request like /admin\secret reaches the app as /admin/secret. An unauthenticated attacker can therefore reach routes that a reverse proxy or WAF in front of the app was configured to block by path.
first public Nov 2, 2026 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that use @hono/node-server and sit behind a reverse proxy, load balancer or WAF that enforces access rules by URL path and forwards a raw backslash unchanged. Access control implemented inside the Hono application itself runs on the rewritten path and is not affected, so apps without a path-based front layer can deprioritize it.
Not affected if access-control-in-app-only, no-path-based-proxy-rules
Who cares hono, node.js, reverse-proxy, self-hosted
npm ls @hono/node-server in the project to see the installed version./admin\secret) is forwarded unchanged by that front component.Upgrade to 2.1.6 · 1.19.18
@hono/node-server passes the raw request-target to the WHATWG URL parser, which treats a backslash in the path as / and then resolves .. segments. A request for /admin\secret or /public\..\admin/secret reaches the application as /admin/secret. A reverse proxy that follows RFC 3986 forwards the backslash unchanged and applies its path-based rules to the original path, so the request reaches a route the proxy is meant to block.
A raw backslash is not allowed in a request-target (RFC 3986, RFC 9112 Section 3.2.1), and RFC 9112 Section 3.2 says a recipient should reject such a request rather than correct it. Proxies such as nginx on Linux, HAProxy and Envoy keep the backslash as an ordinary character, so they and the application see different paths.
The fix responds with 400 Bad Request to a request whose path contains a raw backslash, for HTTP/1.1, HTTP/2, absolute-form request-targets and WebSocket upgrades. A percent-encoded backslash and a backslash in the query string are still accepted.
An unauthenticated client can reach a route that a reverse proxy, load balancer or WAF in front of the application blocks by path.
This affects applications served by behind a front component that makes path-based decisions and forwards a backslash unchanged. Access control inside the Hono application, such as middleware on , runs on the rewritten path and is not affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
@hono/node-server 2.x: move to 2.1.6@hono/node-server 1.x: move to 1.19.18@hono/node-server/admin/*This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.