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.
Published: 2026-10-28
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Authentication Bypass leading to unauthorized data access
Action: Patch Now
AI Analysis

Impact

The vulnerability resides in the SupressNotFound middleware of the go-chi chi router. It incorrectly uses the routing context during a Match call, leaving a mounted router’s parameter and child suffix in place for the outer router. This allows an unauthenticated attacker to request a path that is mounted but whose suffix coincides with a public outer route, thereby skipping the authentication middleware that protects the mounted router and exposing tenant‑specific data. The weakness is a classic authentication bypass linked to CWE‑288.

Affected Systems

All deployments of the go‑chi chi router using versions prior to 5.5.0, regardless of the operating system or hosting environment, are vulnerable because the middleware flaw exists in those releases.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. EPSS information is currently unavailable, and the issue is not listed in CISA’s KEV catalog. The exploit requires no special privileges; an attacker simply crafts a request to a mounted path whose suffix matches an outer public route. If such a route exists, authentication checks are bypassed and tenant data can be retrieved. Given the lack of detection mechanisms, the risk is tangible for environments that expose such routes to external networks.

Generated by OpenCVE AI on October 28, 2026 at 20:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the go-chi library to version 5.5.0 or later, which removes the vulnerable logic in SupressNotFound.
  • Review mounted routes to ensure that any path served by a mounted router does not share a suffix with an outer public route, and adjust routing configuration accordingly.
  • Implement an additional authentication guard or request‑validation middleware that explicitly checks for authenticated sessions before handling tenant‑scoped data, providing a defensive fallback if the primary middleware is bypassed.

Generated by OpenCVE AI on October 28, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware
Weaknesses CWE-288
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T18:59:52.523Z

Reserved: 2026-10-28T17:28:46.441Z

Link: CVE-2026-118681

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-28T19:17:34.460

Modified: 2026-10-28T19:17:35.110

Link: CVE-2026-118681

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T20:30:07Z

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel