CVE-2026-118681
go-chi chi before 5.5.0 contains an authentication bypass in middleware.SupressNotFound, which calls Match with the live routing context and leaves a mounted router's parameter and child suffix in place for dispatch against the outer router. Unauthenticated attackers can request a mounted path whose suffix matches an outer public route, skipping the mounted authentication middleware and retrieving tenant-scoped data when that outer handler trusts the retained mount parameter.
- Score
- CVSS 4.0 6.3 Medium
- Status
- Deferred - disclosure@vulncheck.com
- Published
- 2026-10-28
- Last modified
- 2026-10-28
- Weaknesses
- CWE-288
Affected products
References
- https://github.com/go-chi/chi/security/advisories/GHSA-rqrp-8cg2-5958
- https://www.vulncheck.com/advisories/go-chi-chi-before-5.5.0-authentication-bypass-via-supressnotfound-middleware