{"id":"CVE-2026-118650","published":"2026-10-28T19:25:02Z","modified":"2026-11-02T20:40:36Z","title":"Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00474,"percentile":0.41805,"provenance":"source"},"cwes":[{"id":"CWE-177","name":"Improper Handling of URL Encoding (Hex Encoding)"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-375p-5qhx-8wq4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v4.16.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v5.4.0","tags":["x_refsource_MISC"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":8.36},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-09","earliestUrl":"https://github.com/federiconbaez/cortex9-echo-static-encoded-segment-bypass-model","repos":[{"name":"federiconbaez/cortex9-echo-static-encoded-segment-bypass-model","url":"https://github.com/federiconbaez/cortex9-echo-static-encoded-segment-bypass-model","stars":0,"created":"2026-11-09"}]},"first":{"date":"2026-11-09","source":"PoC-in-GitHub","url":"https://github.com/federiconbaez/cortex9-echo-static-encoded-segment-bypass-model"},"provenance":"source"},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":[">= 5.0.0, < 5.4.0","< 4.16.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-02T20:40:00.138655Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.4.0",">=5.0.0, <5.4.0"],"patched":["5.4.0"],"from":["GHSA-375p-5qhx-8wq4","GO-2026-6873"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":["<4.16.0"],"patched":["4.16.0"],"from":["GHSA-375p-5qhx-8wq4","GO-2026-6873"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112404","exploited":false,"provenance":"source"}}