# GO-2026-6885: Echo has a Static Middleware Double-Unescape Path Traversal in github.com/labstack/echo

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

## Tracked as

- [CVE-2026-118655](https://cve.now/CVE-2026-118655.md): Echo: Static Middleware Double-Unescape Path Traversal

## Also published as

- [GHSA-XWQ5-6CQP-VX96](https://cve.now/GHSA-XWQ5-6CQP-VX96.md) (GitHub)

## Affected versions

- github.com/labstack/echo/v4 (Go): fixed in 4.15.3
- github.com/labstack/echo/v5 (Go): fixed in 5.2.0

## Description

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

## References

- https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96
- https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6
- https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725
- https://github.com/labstack/echo/pull/3006
- https://github.com/labstack/echo/issues/2599
- https://github.com/labstack/echo/releases/tag/v4.15.3
- https://github.com/labstack/echo/releases/tag/v5.2.0

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

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