Technical impact
A second decoding of an already decoded URL path was performed by Echo’s static file middleware. When an attacker double‑encodes path separators, the middleware reconstructs the separators during a second decode before the operating system resolves the file. This permits the attacker to reference files outside the intended static directory, exposing or overwriting sensitive files that should be protected.
Affected Systems
The web framework Echo, provided by Labstack, is affected in all releases prior to 4.15.3 and 5.2.0. Any deployment that registers the static middleware globally, without an updated version, remains vulnerable.
Risk and Exploitability
The CVSS score of 5.9 indicates moderate severity. The EPSS score is listed as less than 1 %, suggesting a low but non‑zero probability of exploitation in the wild, and the vulnerability is not included in the CISA KEV catalog. The likely attack vector is a crafted HTTP request sent to an Echo application configured with global static middleware; if the request targets a guarded route, the double‑decode flaw can be used to read or replace protected files.
Github GHSA