Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-118655

Echo: Static Middleware Double-Unescape Path Traversal

Description

Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.0.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

labstack echo

  • >= 5.0.0, < 5.2.0affected
  • < 4.15.3affected

References