CVE-2026-126358
Hono authorization bypass in RegExpRouter
An unauthenticated attacker can reach protected routes without passing auth middleware.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 4.13.16 | hono · -11 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-126358 divulgada · CVSS 5.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Hono, a web application framework for JavaScript runtimes, can skip wildcard middleware in its RegExpRouter, so an unauthenticated attacker over the network can reach a route handler or the not-found handler without passing the authentication or authorization middleware meant for that path. The flaw is triggered by certain route sets or by request paths containing an encoded line terminator, and it is fixed in version 4.13.16.
Descripción original del registro (GitHub_M)
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16, RegExpRouter can omit wildcard middleware in three version-specific cases: since 4.13.0, middleware using the explicit default parameter pattern in /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id; since 4.1.4, middleware on /admin/* is not applied to a route registered as /admin* for paths under /admin/; and since 4.4.0, a request path containing an encoded line terminator can reach the not-found handler without wildcard middleware. The default SmartRouter selects RegExpRouter for most applications, and the router's registration-time coverage calculation treated the first two matching pattern pairs as different while its compiled wildcard did not match line terminators in the third case. An unauthenticated client can reach a route handler or the not-found handler without authentication or authorization middleware registered on the wildcard path. TrieRouter, LinearRouter, and PatternRouter apply the middleware in the three described cases. This issue is fixed in version 4.13.16.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmhono |
Corregida | 4.13.16 | -11 d | 4.13.18 no afectada |
4.13.16Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpqhttps://github.com/honojs/hono/commit/8a103aa59bcfbffd5396b1548a0dff3688777c36https://github.com/honojs/hono/releases/tag/v4.13.16Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
