Vulnerability DatabaseGHSA-586x-c76g-h528

GHSA-586x-c76g-h528: 
JavaScript vulnerability analysis and mitigation

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

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-3qjc-mqvq-rch9HIGH7.6
  • JavaScript logoJavaScript
  • @mikro-orm/knex
NoYesNov 27, 2026
GHSA-j4pj-2xg4-35f6HIGH7.4
  • JavaScript logoJavaScript
  • @mikro-orm/mariadb
NoYesNov 27, 2026
GHSA-vrvp-5qx2-7xcmMEDIUM6.5
  • JavaScript logoJavaScript
  • @mikro-orm/knex
NoYesNov 27, 2026
GHSA-9phx-3fcw-32vfLOW3.7
  • JavaScript logoJavaScript
  • saxen
NoYesNov 27, 2026
GHSA-288x-p79m-78v5LOW3.7
  • JavaScript logoJavaScript
  • @mikro-orm/knex
NoYesNov 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management