- Accueil
- Vulnérabilités
- CVE-2026-126358
CVE-2026-126358
Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
honojs (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| hono | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| hono | de 4.1.4 (inclus) à 4.13.16 (exclu) |
4.13.16 |
GitHub Advisory |
Correctif
Mise à jour — npm/hono 4.13.16source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-h7mg-cq63-vhpq — Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator 12 nov. 2026
Références
- https://github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpqx_refsource_CONFIRM
- https://github.com/honojs/hono/commit/8a103aa59bcfbffd5396b1548a0dff3688777c36x_refsource_MISC
- https://github.com/honojs/hono/releases/tag/v4.13.16x_refsource_MISC
- https://github.com/honojs/honoPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-863 · Authentification / contrôle d'accès