Bug 2577551

Summary: CVE-2026-118681 caddy: chi: Authentication bypass via SuppressNotFound middleware [fedora-all]
Product: [Fedora] Fedora Reporter: Carl George 🤠 <carlwgeorge>
Component: caddyAssignee: Carl George 🤠 <carlwgeorge>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahanwate, carlwgeorge, extras-qa, go-sig, ngompa13
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["96431de9-1fb1-43b7-86a3-3f7dc3d43d39"]}
Fixed In Version: caddy-2.10.2-10.fc44 caddy-2.11.9-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: 2563280 Environment:
Last Closed: 2026-11-30 01:42:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2563124    

Description Carl George 🤠 2026-11-20 04:14:44 UTC
+++ This bug was initially created as a clone of Bug #2563280 +++

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

--- Additional comment from Carl George 🤠 on 2026-11-19 22:14:16 CST ---

Comment 1 Fedora Update System 2026-11-21 05:16:16 UTC
FEDORA-2026-aec084f8c5 (caddy-2.11.9-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-aec084f8c5

Comment 2 Fedora Update System 2026-11-21 05:17:58 UTC
FEDORA-2026-e75b8af47a (caddy-2.10.2-10.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e75b8af47a

Comment 3 Fedora Update System 2026-11-22 02:20:02 UTC
FEDORA-2026-aec084f8c5 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-aec084f8c5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-aec084f8c5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-11-22 02:49:43 UTC
FEDORA-2026-e75b8af47a has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e75b8af47a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e75b8af47a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-11-30 01:42:06 UTC
FEDORA-2026-e75b8af47a (caddy-2.10.2-10.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-30 01:47:38 UTC
FEDORA-2026-aec084f8c5 (caddy-2.11.9-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.