{"id":"ghsa-ghsa-3pmx-cf9f-34xr","seq":2056967,"kind":"advisory","title":"Echo static file middleware route protection bypass via encoded dot-dot traversal","url":"https://github.com/advisories/GHSA-3pmx-cf9f-34xr","permalink":"https://vulnpulse.app/items/ghsa-ghsa-3pmx-cf9f-34xr","summary":"影響: go:github.com/labstack/echo/v5 < 5.4.0 → 5.4.0, go:github.com/labstack/echo/v4 < 4.16.0 → 4.16.0\nEcho v5.2.0 contains a bypass of the fix for GHSA-vfp3-v2gw-7wfq. The fix rejects encoded path separators such as %2F and %5C before static file path unescaping, but two traversal forms still bypass route-level middleware protections for static files. The primary bypass uses encoded dot-dot segments. A request such as /public/%2E%2E/admin/secret.txt passes the encoded-separator guard, is unescaped to public/../admin/secret.txt, then path.Clean resolves it to admin/secret.txt. If /admin/ is prot…","severity":"medium","techs":["go","github"],"cves":["CVE-2026-118654"],"tags":["GHSA-3pmx-cf9f-34xr","github.com/labstack/echo/v5","github.com/labstack/echo/v4"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-10-28T21:04:46.000Z","fetched_at":"2026-10-29T00:48:52.653Z"}