p PatchFirst

CVE-2026-118681

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.3 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • chi

    Versions
    • ≥ 0, < 5.5.0: Affected (semver)
    • 5.5.0: Not affected (semver)

    Update to 5.5.0

  • golang-github-go-chi-chi Debian:12

    Versions
    • 5.0.7-1
    • 5.1.0-1
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Debian:13

    Versions
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Debian:14

    Versions
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Ubuntu:22.04:LTS

    Versions
    • 1.5.1-2
    • 5.0.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Ubuntu:24.04:LTS

    Versions
    • 5.0.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Ubuntu:26.10

    Versions
    • 5.2.3-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Ubuntu:26.04:LTS

    Versions
    • 5.2.0-1
    • 5.2.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →