{"id":"ghsa-ghsa-xwq5-6cqp-vx96","seq":2056968,"kind":"advisory","title":"Echo has a Static Middleware Double-Unescape Path Traversal","url":"https://github.com/advisories/GHSA-xwq5-6cqp-vx96","permalink":"https://vulnpulse.app/items/ghsa-ghsa-xwq5-6cqp-vx96","summary":"影響: go:github.com/labstack/echo/v5 < 5.2.0 → 5.2.0, go:github.com/labstack/echo/v4 < 4.15.3 → 4.15.3\nCommit a9ede66a (PR #3006, issue #2599) silently fixed a path traversal vulnerability in the Echo web framework's static file middleware. Vulnerability The static middleware double-unescaped URL paths. Go's net/http already decodes Request.URL.Path, but middleware/static.go unconditionally called url.PathUnescape() again: go // BEFORE (vulnerable) pathUnescape := true This reassembled path traversal sequences from double-encoded input. An attacker could send GET /%2e%2e%2fsecret.txt or /..%252f…","severity":"medium","techs":["go","github"],"cves":["CVE-2026-118655"],"tags":["GHSA-xwq5-6cqp-vx96","github.com/labstack/echo/v5","github.com/labstack/echo/v4"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-10-28T21:04:39.000Z","fetched_at":"2026-10-29T00:48:52.653Z"}