go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| go-chichi |
< 5.5.0→ 5.5.0 |
5.5.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-118681 golang-github-go-chi-chi No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-118681 golang-github-go-chi-chi No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- REDHAT Red Hat
- web github.com