CVE-2026-55677

HIGH

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0043
EPSS Percentile 35.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
labstack/echo < 4.15.3
labstack/echo >= 5.0.0, < 5.2.0
Published Jun 26, 2026
Tracked Since Jun 26, 2026