Source: golang-github-go-chi-chi
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerability was published for golang-github-go-chi-chi.

CVE-2026-118681[0]:
| 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.

 https://github.com/go-chi/chi/security/advisories/GHSA-mqqf-5wvp-8fh8
 https://github.com/go-chi/chi/pull/1238


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-118681
    https://www.cve.org/CVERecord?id=CVE-2026-118681

Please adjust the affected versions in the BTS as needed.

Reply via email to