CVE-2026-118681GHSA-rqrp-8cg2-5958
go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware
go-chi chi
CVSS
6.3MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
What fixes it
- 5.5.0chiCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- chiaffected: all versions before 5.5.0CVE List
- chiunaffected: 5.5.0CVE List