{"id":"CVE-2026-118655","published":"2026-10-28T20:03:56Z","modified":"2026-10-29T18:29:50Z","title":"Echo: Static Middleware Double-Unescape Path Traversal","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.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.00303,"percentile":0.23674,"provenance":"source"},"cwes":[{"id":"CWE-174","name":"Double Decoding of the Same Data"}],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labstack/echo/issues/2599","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/pull/3006","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v4.15.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v5.2.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.73},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":[">= 5.0.0, < 5.2.0","< 4.15.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T18:29:35.386733Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.2.0"],"patched":["5.2.0"],"from":["GHSA-xwq5-6cqp-vx96","GO-2026-6885"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":["<4.15.3"],"patched":["4.15.3"],"from":["GHSA-xwq5-6cqp-vx96","GO-2026-6885"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112461","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-36565","published":"2022-12-07","fixed":"4.2.0","kev":false},{"cve":"CVE-2022-40083","published":"2022-09-28","fixed":"4.9.0","kev":false},{"cve":"CVE-2026-118658","published":"2026-10-28","fixed":"4.15.2","kev":false,"link":{"from":"CVE-2026-118658","to":"CVE-2026-118655","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/labstack/echo/v4","fromFixed":"4.15.2","toFixed":"4.15.3","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/labstack/echo/v5","fromFixed":"5.1.1","toFixed":"5.2.0","daysApart":0}]}},{"cve":"CVE-2026-118655","published":"2026-10-28","fixed":"4.15.3","kev":false},{"cve":"CVE-2026-55677","published":"2026-06-26","fixed":"4.15.3","kev":false},{"cve":"CVE-2026-118266","published":"2026-10-28","fixed":"4.16.0","kev":false},{"cve":"CVE-2026-118650","published":"2026-10-28","fixed":"4.16.0","kev":false}],"package":"Go:github.com/labstack/echo/v4"}}