SEVERITY NOT PROVIDED EPSS 0.5% · 35th percentile

CVE-2026-118655: Echo has a Static Middleware Double-Unescape Path Traversal in github.com/labstack/echo

Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-xwq5-6cqp-vx96, GO-2026-6885

Summary

A path traversal vulnerability exists in the Echo framework's Static Middleware due to a double-unescape flaw. Engineering teams using github.com/labstack/echo/v4 and v5 should update to the patched versions immediately.

Who is affected

Deployments utilizing Echo's static file serving middleware are affected, potentially allowing unauthorized access to files outside the intended root directory. The condition requires handling specific URL paths that trigger improper double-unescape handling during request processing.

Exploitability

The vulnerability currently has an EPSS score of 0.003 (percentile 0.235), indicating a low probability of exploitation in the wild. CISA Known Exploited Vulnerabilities status is no, meaning there is no record of active exploitation.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/labstack/echo/v4 >= 0, < 4.15.3 4.15.3 go get github.com/labstack/echo/[email protected]
Go github.com/labstack/echo/v5 >= 0, < 5.2.0 5.2.0 go get github.com/labstack/echo/[email protected]

FAQ

What packages are affected by CVE-2026-118655?

The affected packages are github.com/labstack/echo/v4 (versions prior to 4.15.3) and github.com/labstack/echo/v5 (versions prior to 5.2.0).

Is there any active exploitation recorded for this vulnerability?

No, CISA Known Exploited Vulnerabilities status is no, and the EPSS score is 0.003.

How can I fix the path traversal issue in Echo?

You must update your Go dependencies to github.com/labstack/echo/v4 version 4.15.3 or github.com/labstack/echo/v5 version 5.2.0.

Original advisory description
Echo has a Static Middleware Double-Unescape Path Traversal in github.com/labstack/echo

References

Source records: GO-2026-6885 (OSV.dev) · EPSS by FIRST, 2026-11-26.