{"id":"CVE-2026-55677","published":"2026-06-26T16:15:55Z","modified":"2026-06-26T16:50:57Z","title":"Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving %2F as-is), while StaticDirectoryHandler unescapes %2F to / before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. This vulnerability is fixed in 4.15.3 and 5.2.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.00669,"percentile":0.52875,"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-vfp3-v2gw-7wfq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.58},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":["< 4.15.3",">= 5.0.0, < 5.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-26T16:50:52.168170Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.2.0"],"patched":["5.2.0"],"from":["GHSA-vfp3-v2gw-7wfq","GO-2026-6293"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":["<4.15.3"],"patched":["4.15.3"],"from":["GHSA-vfp3-v2gw-7wfq","GO-2026-6293"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo","vulnerableRanges":["<=3.3.10"],"patched":[],"from":["GHSA-vfp3-v2gw-7wfq"],"provenance":"source"}],"summary":{"text":"The flaw is in the Echo Go web framework (labstack/echo), where the router and the static file handler decode URL paths inconsistently: routes are matched against the raw encoded path, while StaticDirectoryHandler decodes %2F to / before resolving filesystem paths. An attacker who can send network requests to an Echo application can exploit this without authentication or user interaction, using an encoded slash to bypass route-level access controls and read static files they should not be able to reach.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:09Z"},"euvd":{"id":"EUVD-2026-39800","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-labstack-echo-cve-2026-55677","children":[{"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"}]}]}}