npm
CVE-2026-126210
@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
- Severity
- Medium 5.3
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.19.18, 2.1.6
- Exploit chance
- 0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-436
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Also known as
- GHSA-jpvv-r467-5p4w
- Sources
- OSV.dev and GitHub
Description
@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.
Affected software
| Software | Affected versions |
|---|---|
@hono/node-servernpm · osv:npm:@hono/node-server |
|
About @hono/node-server
- Weekly downloads (npm)
- 105,537,155npm, 22 Nov 2026
Vulnerabilities in @hono/node-server
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the processMedium 5.3 12 Nov 2026
- CVE-2026-118663@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static pathsMedium 5.3 28 Oct 2026
- GHSA-frvp-7c67-39w9Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)Medium 5.9 21 Jul 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-126210
- GitHub Advisory Database https://github.com/advisories/GHSA-jpvv-r467-5p4w