## Echo has a Static Middleware Double-Unescape Path Traversal

- 種別: advisory
- 重大度: medium
- 関連技術: go, github
- CVE: CVE-2026-118655
- 公開日時: 2026-10-28T21:04:39.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-xwq5-6cqp-vx96)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-xwq5-6cqp-vx96

影響: go:github.com/labstack/echo/v5 < 5.2.0 → 5.2.0, go:github.com/labstack/echo/v4 < 4.15.3 → 4.15.3
Commit 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…