CVE-2026-118681

NameCVE-2026-118681
Descriptiongo-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-go-chi-chi (PTS)bookworm5.0.7-1vulnerable
trixie5.2.0-1vulnerable
forky, sid5.3.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-go-chi-chisource(unstable)(unfixed)

Notes

[trixie] - golang-github-go-chi-chi <no-dsa> (Minor issue)
https://github.com/go-chi/chi/security/advisories/GHSA-rqrp-8cg2-5958
Fixed by: https://github.com/go-chi/chi/commit/7f9b7448f51d28804fac98c0a17bc2a7cec1079f (v5.4.0)

Search for package or bug name: Reporting problems