1. Accueil
  2. Vulnérabilités
  3. CVE-2026-126358

CVE-2026-126358

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

Publiée le 13 nov. 2026 · modifiée le 13 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 32/100

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))
honojs
ProduitVersionsCorrigé dansSource
hono Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
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

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

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

Comment sont obtenues et calculées ces données