Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path
cve-program · CVE-2026-118650 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 2 Nov 2026 21:57:16 UTC. Read the latest advisory.
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-118650 · Published
cve-program · CVE-2026-118650 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.