Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-118681 EUVD-2026-112387GHSA-r83h-4mhv-9p8m

go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware

Published Oct 28, 2026 · Updated Nov 3, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
go-chi chi < 5.5.0 5.5.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-go-chi-chi No fix yet —
Debian 13 golang-github-go-chi-chi No fix yet —
Debian 12 golang-github-go-chi-chi No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-go-chi-chi No fix yet —
Ubuntu 26.04 LTS golang-github-go-chi-chi No fix yet —
Ubuntu 24.04 LTS golang-github-go-chi-chi No fix yet —
Ubuntu 22.04 LTS golang-github-go-chi-chi No fix yet —

References