VDB
Sign up
MEDIUM5.3

GO-2026-4502

Echo has a Windows path traversal via backslash in middleware.Static default filesystem in github.com/labstack/echo/v5

Quick fix

GO-2026-4502 — github.com/labstack/echo/v5: upgrade to the fixed version with the command below.

go get github.com/labstack/echo/v5@v5.0.3

Details

Echo has a Windows path traversal via backslash in middleware.Static default filesystem in github.com/labstack/echo/v5

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/labstack/echo/v5
Introduced in: 5.0.0Fixed in: 5.0.3
Fixgo get github.com/labstack/echo/v5@v5.0.3

References