Technical impact
The vulnerability resides in the SupressNotFound middleware of the go-chi chi router. It incorrectly uses the routing context during a Match call, leaving a mounted router’s parameter and child suffix in place for the outer router. This allows an unauthenticated attacker to request a path that is mounted but whose suffix coincides with a public outer route, thereby skipping the authentication middleware that protects the mounted router and exposing tenant‑specific data. The weakness is a classic authentication bypass linked to CWE‑288 and CWE‑305.
Affected Systems
All deployments of the go‑chi chi router using versions prior to 5.5.0 are vulnerable because the middleware flaw exists in those releases.
Risk and Exploitability
The CVSS score of 6.3 indicates moderate severity. The EPSS score of 0.244% reflects a low to moderate exploitation probability, suggesting the vulnerability could be targeted but is not considered a high‑probability exploit. The issue is not listed in CISA’s KEV catalog. An attacker simply crafts a request to a mounted path whose suffix matches an outer public route; no special privileges are required. If such a route exists, authentication checks are bypassed and tenant data can be retrieved. The weakness is documented as CWE‑288 and CWE‑305 and represents a tangible risk for environments that expose such routes to external networks.