CVE-2026-118681

go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware

State
Published
Severity
6.3 Medium
Published
Oct 28, 2026
Updated
Oct 28, 2026
Reserved
Oct 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NVulnCheck

Weaknesses

  • CWE-288 Authentication Bypass Using an Alternate Path or Channel

Affected Products

ProductVersions
chigo-chi
  • before 5.5.0Affected
  • 5.5.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.