Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

CVE-2026-118655Echo: Static Middleware Double-Unescape Path Traversal

Medium 5.9

In plain English

A medium-severity security flaw in echo from labstack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.3%top 76.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118655
Debian:13golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118655
Debian:14golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118655
Gogithub.com/labstack/echo/v44.15.3GO-2026-6885
Gogithub.com/labstack/echo/v44.15.3GHSA-xwq5-6cqp-vx96
Gogithub.com/labstack/echo/v55.2.0GHSA-xwq5-6cqp-vx96
Gogithub.com/labstack/echo/v55.2.0GO-2026-6885
Ubuntu:22.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118655
Ubuntu:24.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118655
Ubuntu:26.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118655
Ubuntu:26.10golang-github-labstack-echono fix listedUBUNTU-CVE-2026-118655
Ubuntu:22.04:LTSgolang-github-labstack-echo.v2no fix listedUBUNTU-CVE-2026-118655
Ubuntu:22.04:LTSgolang-github-labstack-echo.v3no fix listedUBUNTU-CVE-2026-118655

Affected products (as reported)

VendorProductVersions
labstack echo >= 5.0.0, < 5.2.0< 4.15.3

Weakness: CWE-174 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References