CVE-2026-118681: go-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middleware

Published Oct 28, 2026
·
Updated

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 Software

1 affected component
go-chi chi<5.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go-chi/chi to a version that resolves this vulnerability.

    Fixed in 5.5.0

Event History

Oct 28, 2026
CVE Published
via MITRE·06:59 PM
Data Sourced
via MITRE·06:59 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Deployments using go-chi chi before 5.5.0 are exposed only where middleware.SupressNotFound is used with a mounted router that applies authentication middleware, and an outer public route can be matched by the mounted path suffix. Exposure further depends on an outer handler trusting the retained mount parameter to retrieve tenant-scoped data.

2

What does an attacker need to exploit this issue?

An attacker does not need authentication or user interaction. They must be able to send a request to a mounted path whose suffix matches an outer public route, causing dispatch to the outer route while retaining the mounted router's parameter and child suffix.

3

Are default installations affected?

The available information does not establish that a default configuration is affected. Exploitation depends on a specific routing and middleware arrangement involving SupressNotFound, a mounted authenticated router, and a matching public outer route.

4

How can I assess whether my application is affected?

Review routes using middleware.SupressNotFound and identify mounted routers protected by authentication middleware. Check whether requests under those mounts can have suffixes that match outer public routes, and whether those outer handlers use retained mount parameters when accessing tenant-scoped data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203