MEDIUM · CVSS 3.1 5.3 EPSS 0.4% · 32th percentile CWE-436

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

Published 2026-11-12 · Updated 2026-11-12 · Also known as GHSA-jpvv-r467-5p4w

Summary

@hono/node-server improperly parses backslashes in request paths as path separators, allowing attackers to bypass reverse proxy access controls. Engineering and security teams using affected versions should update immediately.

Who is affected

Unauthenticated clients can bypass reverse proxy, load balancer, or WAF path-based access controls by using backslashes in the request path. This occurs because the application normalizes backslashes to forward slashes during parsing while compliant reverse proxies forward the backslash unchanged. The flaw specifically impacts applications served by @hono/node-server deployed behind such front components.

Exploitability

The vulnerability is network-accessible with low attack complexity and requires no privileges or user interaction, resulting in a CVSS base score of 5.3 (Medium). Its EPSS score is 0.004 (percentile 0.321), and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm @hono/node-server >= 2.0.0, < 2.1.6 2.1.6 npm install @hono/[email protected]
npm @hono/node-server >= 0, < 1.19.18 1.19.18 npm install @hono/[email protected]

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone

FAQ

What causes the path normalization issue?

@hono/node-server passes the raw request-target to the WHATWG URL parser, which treats a backslash in the path as a forward slash and resolves relative path segments.

Are percent-encoded backslashes or query strings affected?

No, a percent-encoded backslash and a backslash located in the query string are still accepted.

Does internal Hono application middleware get affected?

No, access control implemented inside the Hono application runs on the rewritten path and remains unaffected.

Original advisory description
### 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.

References

Source records: GHSA-jpvv-r467-5p4w (OSV.dev) · EPSS by FIRST, 2026-11-21.