{"id":"CVE-2026-118654","published":"2026-10-28T19:59:27Z","modified":"2026-11-02T20:43:27Z","title":"Echo static file middleware route protection bypass via encoded dot-dot traversal","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00546,"percentile":0.46638,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-3pmx-cf9f-34xr","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":13.5,"factors":[{"name":"EPSS percentile","points":9.33},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":["< 4.16.0",">= 5.0.0, < 5.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T20:43:04.630294Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.4.0"],"patched":["5.4.0"],"from":["GHSA-3pmx-cf9f-34xr","GO-2026-6881"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":["<4.16.0"],"patched":["4.16.0"],"from":["GHSA-3pmx-cf9f-34xr","GO-2026-6881"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112459","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-labstack-echo-cve-2026-55677","parents":[{"from":"CVE-2026-55677","to":"CVE-2026-118654","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This vulnerability is the result of an incomplete fix for CVE-2026-55677.","from":"CVE.org","in":"CVE-2026-118654"},{"kind":"same-code","provenance":"machine","files":["echo.go","echo_fs.go","middleware/static.go"],"commits":["https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725","https://github.com/labstack/echo/commit/8d1ae9d3360a71672418856d58753af25f2c3986"],"basis":"shared file"}]}]}}