SEVERITY NOT PROVIDED EPSS 0.5% · 47th percentile

CVE-2026-118654: Echo static file middleware route protection bypass via encoded dot-dot traversal in github.com/labstack/echo

Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-3pmx-cf9f-34xr, GO-2026-6881

Summary

An encoded dot-dot traversal vulnerability exists in the Echo static file middleware route protection, allowing bypasses in github.com/labstack/echo. Engineering teams maintaining applications using affected versions of Echo should review and update their dependencies.

Who is affected

Deployments using the static file middleware in affected versions of github.com/labstack/echo/v4 and github.com/labstack/echo/v5 are impacted. The vulnerability permits route protection bypass via encoded dot-dot traversal.

Exploitability

The CVSS vector is not documented and severity is unknown. The EPSS score is 0.003 (percentile 0.287) and CISA Known Exploited Vulnerabilities is no, indicating low observed exploitation activity.

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.16.0 4.16.0 go get github.com/labstack/echo/[email protected]
Go github.com/labstack/echo/v5 >= 0, < 5.4.0 5.4.0 go get github.com/labstack/echo/[email protected]

FAQ

What packages are affected by CVE-2026-118654?

Go packages github.com/labstack/echo/v4 (versions prior to 4.16.0) and github.com/labstack/echo/v5 (versions prior to 5.4.0) are affected.

Is this vulnerability actively exploited in the wild?

No, CISA Known Exploited Vulnerabilities status is no.

What is the nature of the vulnerability?

It is a route protection bypass in the Echo static file middleware caused by encoded dot-dot traversal.

Original advisory description
Echo static file middleware route protection bypass via encoded dot-dot traversal in github.com/labstack/echo

References

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