CVE-2026-55677
Description
Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving %2F as-is), while StaticDirectoryHandler unescapes %2F to / before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. This vulnerability is fixed in 4.15.3 and 5.2.0.
How to fix
- github.com/labstack/echo/v55.2.0 or later
- github.com/labstack/echo/v44.15.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/labstack/echo/v5Go | v < 5.2.0 | 5.2.0 |
| github.com/labstack/echo/v4Go | v < 4.15.3 | 4.15.3 |
| github.com/labstack/echoGo | v ≤ 3.3.10 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.