UBUNTU-CVE-2026-118681: Medium severity vulnerability

Published Oct 29, 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.

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

Frequently Asked Questions

1

Which deployments are realistically exposed?

Deployments using go-chi versions before 5.5.0 may be exposed if they mount a router protected by authentication middleware and also have an outer public route whose suffix can match requests beneath that mount. Exposure additionally depends on the outer handler trusting the mount parameter retained from routing.

2

What does an attacker need to exploit this issue?

An attacker does not need credentials or user interaction, but must be able to make network requests. Exploitation requires a crafted mounted-path request whose suffix matches an outer public route.

3

Are all applications using an affected go-chi version vulnerable by default?

No. The described bypass depends on a specific routing arrangement: a mounted authenticated router, a matching outer public route, and an outer handler that relies on the retained mount parameter. The available information does not establish that every default application configuration has this arrangement.

4

How can I assess whether an application is affected?

Review routes that use middleware.SupressNotFound and identify authenticated mounted routers with path suffixes that overlap public outer routes. Test whether an unauthenticated request under a mounted path is dispatched to an outer public handler while retaining a tenant or mount parameter, and whether that handler can return 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