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
Auswirkung
@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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @hono/node-server | >= 2.0.0, < 2.1.6 | 2.1.6 |
Betroffene Produkte · Honojs
| Produkt | Betroffene Versionen |
|---|---|
| Node-server | ab 2.0.0, vor 2.1.6 vor 1.19.18 Version < 1.19.18 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/honojs/node-server/security/advisories/GHSA-jpvv-r467-5p4w
- https://github.com/honojs/node-server/commit/3868998a805ae79216535ad3986c1e7228dee313
- https://github.com/honojs/node-server/commit/fb97395ec36af66567c76976e741110b02804d1c
- https://github.com/honojs/node-server/releases/tag/v1.19.18
- https://github.com/honojs/node-server/releases/tag/v2.1.6
- https://github.com/advisories/GHSA-jpvv-r467-5p4w