Echo has a Static Middleware Double-Unescape Path Traversal
影響: 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…
| CVE | CVE-2026-118655 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/29 09:48 |
| 数据 | Markdown JSON |
2026/10/29 06:04,GitHub Advisory Database 发布了“Echo has a Static Middleware Double-Unescape Path Traversal”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Go、GitHub。CVE:CVE-2026-118655。