CVE-2026-118655

GHSA-xwq5-6cqp-vx96 · GO-2026-6885 · published 28 Oct 2026 · updated 16 Nov 2026

Echo: Static Middleware Double-Unescape Path Traversal

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/labstack/echo/v4 4.15.3 and github.com/labstack/echo/v5 5.2.0.

Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
labstack<4.15.3, >=5.0.0 <5.2.0
go: github.com/labstack/echo/v4<4.15.34.15.3
go: github.com/labstack/echo/v5<5.2.05.2.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/labstack/echo/v4 (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118655 severity on Zeptric[![CVE-2026-118655](https://zeptric.io/badge/cve/CVE-2026-118655.svg)](https://zeptric.io/cve/CVE-2026-118655)