Go
CVE-2026-118681
go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware
- Severity
- Medium 6.3
- Published
- 28 Oct 2026
- Last changed
- 3 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 5.5.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
github.com/go-chi/chi/v5Go · osv:Go:github.com/go-chi/chi/v5 |
|
About github.com/go-chi/chi/v5
Vulnerabilities in github.com/go-chi/chi/v5
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-122132go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes MiddlewareMedium 5.1 4 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118681