go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware
Impact
go-chi chi versions before 5.5.0 have an authentication bypass via the SupressNotFound middleware, allowing unauthenticated attackers to access tenant-scoped data. The vulnerability occurs when a mounted path's suffix matches an outer public route. Attackers need access to the mounted path to exploit the weakness.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
go-chi · VulnCheck
chi
2 ranges
go-chi · VulnCheck
chi
Package identity
pkg:golang/github.com/go-chi/chi/v5Explore github.com/go-chi/chi/v5 →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 5.5.0
semver versions
unaffected
5.5.0
semver versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-118681View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.