Katalog CVE

CVE-2026-118650

WysokieCVSS 7.5
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W frameworku Echo przed wersjami 4.16.0 i 5.4.0 globalnie zamontowany middleware.Static może interpretować zakodowaną ścieżkę żądania inaczej niż router. Router dopasowuje nadal zakodowaną ścieżkę, a handler statyczny używa zdekodowanego URL.Path, co może prowadzić do dostępu do plików.

Ocena ryzyka

Może to umożliwić obejście zabezpieczeń routingu i dostęp do plików w katalogu statycznym, które powinny być chronione.

Rekomendacja

Zaktualizować framework Echo do wersji 4.16.0 lub 5.4.0 i przejrzeć konfigurację globalnego middleware statycznego.

Inne podatności w Echo

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS