7.5Hoch

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

labstack echo Veröffentlicht: (vor 4 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
labstack echo < 4.15.3, >= 5.0.0, < 5.2.0

Referenzen und Patches