{"id":"UBUNTU-CVE-2026-118681","details":"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.","modified":"2026-10-29T20:04:31.204649206Z","published":"2026-10-29T00:00:00Z","upstream":["CVE-2026-118681"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118681"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118681"},{"type":"REPORT","url":"https://github.com/go-chi/chi/security/advisories/GHSA-rqrp-8cg2-5958"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/go-chi-chi-before-5.5.0-authentication-bypass-via-supressnotfound-middleware"}],"affected":[{"package":{"name":"golang-github-go-chi-chi","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-2","5.0.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.0.7-1","binary_name":"golang-github-go-chi-chi-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118681.json"}},{"package":{"name":"golang-github-go-chi-chi","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.0.7-1","binary_name":"golang-github-go-chi-chi-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118681.json"}},{"package":{"name":"golang-github-go-chi-chi","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.3-1","5.3.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-go-chi-chi-dev","binary_version":"5.3.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118681.json"}},{"package":{"name":"golang-github-go-chi-chi","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0-1","5.2.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.2.3-1","binary_name":"golang-github-go-chi-chi-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118681.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}