NetSight
high7.5

CVE-2026-55677

Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/labstack/echo/v5< 5.2.05.2.0
gogithub.com/labstack/echo/v4< 4.15.34.15.3
gogithub.com/labstack/echo<= 3.3.10none recorded

Weakness classification

References