Skip to main content
← All vulnerabilities
CVE-2026-118681

go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • go-chi chi

    fixed in 5.5.0

References 2

GitHub · go-chi/chi

vulncheck.com