@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in @hono/node-server 1.19.18 and @hono/node-server 2.1.6.
@hono/node-server allows running the Hono application on Node.js. Prior to 1.19.18 and from 2.0.0 until 2.1.6, the server passes a raw request-target containing a backslash in its path to the WHATWG URL parser, which treats the backslash as a path separator and resolves dot segments. A reverse proxy, load balancer, or web application firewall that preserves the backslash and applies path-based rules to the original request can therefore permit a request that the application normalizes to a blocked route. This lets an unauthenticated client reach route content that the upstream component was intended to deny, while Hono application access controls are unaffected because they operate on the normalized path. This issue is fixed in versions 1.19.18 and 2.1.6.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| honojs | <1.19.18, >=2.0.0 <2.1.6 | ||
| npm: @hono/node-server | <1.19.18, >=2.0.0 <2.1.6 | 1.19.18, 2.1.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in @hono/node-server (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket