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

- Database: Go
- Published: 2026-11-05
- Modified: 2026-11-05

## Tracked as

- [CVE-2026-118654](https://cve.now/CVE-2026-118654.md): Echo static file middleware route protection bypass via encoded dot-dot traversal

## Also published as

- [GHSA-3PMX-CF9F-34XR](https://cve.now/GHSA-3PMX-CF9F-34XR.md) (GitHub)

## Affected versions

- github.com/labstack/echo/v4 (Go): fixed in 4.16.0
- github.com/labstack/echo/v5 (Go): fixed in 5.4.0

## Description

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

## References

- https://github.com/labstack/echo/security/advisories/GHSA-3pmx-cf9f-34xr
- https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
- https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- https://github.com/labstack/echo/releases/tag/v4.16.0
- https://github.com/labstack/echo/releases/tag/v5.4.0

Page: https://cve.now/GO-2026-6881

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
