CVE Catalog

CVE-2026-118654

MediumCVSS 5.9
Published: Translated: NVD NIST

Summary

In Echo before 4.16.0 and 5.4.0, static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the direct path is protected by route-level middleware. This is an incomplete fix for CVE-2026-55677.

Risk Assessment

An unauthenticated attacker can read files the application intended to protect with route-level middleware if they are reachable through a static filesystem mount after path normalization.

Recommendation

Update Echo to version 4.16.0 or 5.4.0 (or later). Review static mount configuration to avoid exposing directories with sensitive data.

Other vulnerabilities in Echo

See all
Original NVD description (English source)

Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS