GHSA-586x-c76g-h528: 
JavaScript Analyse et atténuation de la vulnérabilité

Summary

TrieRouter did not group the regular expression of a constrained path parameter. When the expression had an alternation, a path that only started or ended with one of the alternatives also matched. As a result, except() in hono/combine could skip a middleware for paths that the application did not mean to exclude.

Details

A path parameter can have a regular expression, and the expression may list alternatives. TrieRouter added the start and end anchors without grouping the expression. Because of this, the start anchor applied only to the first alternative and the end anchor applied only to the last one. except() always uses TrieRouter to check its path conditions, so this affects applications that use any router. When a condition matched too many paths, the middleware passed to except() did not run for them, and the request reached a route with a wider pattern. A route registered on TrieRouter with such a parameter also matched these paths. This is corrected by the same change. This issue arises when applications pass a path condition with an alternation in a constrained parameter to except(), and a wider route handles the same paths.

Impact

An unauthenticated client may reach a route without running the middleware passed to except(). This may lead to:

  • Access to a protected route without authentication or authorization This issue affects applications that use except() with an alternation in a constrained parameter. The impact depends on the route that is reached.

Source: NVD

Connexe JavaScript Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-7hh4-7hx5-vxx8HIGH7.7
  • JavaScript logoJavaScript
  • mysql2
NonOuiNov 26, 2026
GHSA-656w-x92q-369mMEDIUM5.9
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-mhwf-w6q6-q58wMEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-586x-c76g-h528MEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-2qxc-5xj9-7342LOW2.3
  • JavaScript logoJavaScript
  • @logtape/syslog
NonNonNov 26, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités