# GO-2026-6873: URL-encoded path bypasses route/group middleware guarding a statically-served path in github.com/labstack/echo

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

## Tracked as

- [CVE-2026-118650](https://cve.now/CVE-2026-118650.md): Echo authorization bypass in static file middleware

## Also published as

- [GHSA-375P-5QHX-8WQ4](https://cve.now/GHSA-375P-5QHX-8WQ4.md) (GitHub)

## Affected versions

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

## Description

URL-encoded path bypasses route/group middleware guarding a statically-served path in github.com/labstack/echo

## References

- https://github.com/labstack/echo/security/advisories/GHSA-375p-5qhx-8wq4
- 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-6873

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