NetSight
hoch7.5

CVE-2026-55677

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

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben 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.10nicht erfasst

Schwachstellenklasse

Referenzen