---
id: "CVE-2026-126210"
page: "https://infrastack.ai/live/CVE-2026-126210"
kind: "vulnerability"
aliases: ["CVE-2026-126210", "GHSA-jpvv-r467-5p4w"]
title: "@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"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@hono/node-server", "fixed": ["2.1.6"], "affected": ">= 2.0.0, < 2.1.6", "ecosystem": "npm"}, {"name": "@hono/node-server", "fixed": ["1.19.18"], "affected": "< 1.19.18", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["cwe-436", "hono", "node.js", "package", "reverse-proxy", "self-hosted"]
not_affected_if: ["access-control-in-app-only", "no-path-based-proxy-rules"]
published_at: "2026-11-12T21:28:02+00:00"
first_seen_at: "2026-11-12T21:29:45+00:00"
updated_at: "2026-11-12T21:31:48+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-jpvv-r467-5p4w", "first_seen_at": "2026-11-12T21:29:45+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126210", "first_seen_at": "2026-11-12T22:40:37+00:00"}]
exploit_sources: []
---

# @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy

Link for people: https://infrastack.ai/live/CVE-2026-126210 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:@hono/node-server affected >= 2.0.0, < 2.1.6 fixed 2.1.6
- npm:@hono/node-server affected < 1.19.18 fixed 1.19.18

## How to check

- Run `npm ls @hono/node-server` in the project to see the installed version.
- Check whether the app sits behind a reverse proxy, load balancer or WAF that makes decisions based on URL path.
- Test whether a raw backslash in a path (for example `/admin\secret`) is forwarded unchanged by that front component.

## Fix

- `@hono/node-server` 2.x: move to `2.1.6`
- `@hono/node-server` 1.x: move to `1.19.18`

## Timeline

- 2026-11-12T21:29:45+00:00 ghsa https://github.com/advisories/GHSA-jpvv-r467-5p4w
- 2026-11-12T22:40:37+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126210

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/honojs/node-server/security-advisories/GHSA-jpvv-r467-5p4w
- [advisory] Maintainer's advisory: github.com https://github.com/honojs/node-server/security/advisories/GHSA-jpvv-r467-5p4w
- [fix] Patch: github.com https://github.com/honojs/node-server/commit/3868998a805ae79216535ad3986c1e7228dee313
- [fix] Patch: github.com https://github.com/honojs/node-server/commit/fb97395ec36af66567c76976e741110b02804d1c
- [fix] Release: github.com https://github.com/honojs/node-server/releases/tag/v1.19.18
- [fix] Release: github.com https://github.com/honojs/node-server/releases/tag/v2.1.6

## From the sources

### Summary

`@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.

### Details

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.

### Impact

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 `@hono/node-server` behind a front component that makes path-based decisions and forwards a backslash unchanged. Access control inside the Hono application, such as middleware on `/admin/*`, runs on the rewritten path and is not affected.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
