mittel5.3
CVE-2026-39406
@hono/node-server: Middleware bypass via repeated slashes in serveStatic
Auswirkung
@hono/node-server allows running the Hono application on Node.js. Prior to 1.19.13, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 1.19.13.
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 | < 1.19.13 | 1.19.13 |
Betroffene Produkte · Hono
| Produkt | Betroffene Versionen |
|---|---|
| Node-server | bis einschließlich 1.19.12 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-92pp-h63x-v22m
- https://github.com/honojs/node-server/security/advisories/GHSA-92pp-h63x-v22m
- https://github.com/honojs/node-server/commit/025c30f55d589ddbe6048b151d77e904f67a8cc2
- https://github.com/honojs/node-server/releases/tag/v1.19.13
- https://nvd.nist.gov/vuln/detail/CVE-2026-39406