HIGH8.2
GO-2026-6838
Echo: WebSocket proxy can retain connections and handlers after client disconnect in github.com/labstack/echo
Quick fix
GO-2026-6838 — github.com/labstack/echo/v4: upgrade to the fixed version with the command below.
go get github.com/labstack/echo/v4@v4.16.1Details
Echo: WebSocket proxy can retain connections and handlers after client disconnect in github.com/labstack/echo
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/labstack/echo/v4
Introduced in:
4.15.0Fixed in: 4.16.1Fix
go get github.com/labstack/echo/v4@v4.16.1Go/github.com/labstack/echo/v5
Introduced in:
5.0.0Fixed in: 5.4.1Fix
go get github.com/labstack/echo/v5@v5.4.1References
- https://github.com/labstack/echo/security/advisories/GHSA-9969-6676-49h5[ADVISORY]
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec[FIX]
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f[FIX]
- https://github.com/labstack/echo/releases/tag/v4.16.1[WEB]
- https://github.com/labstack/echo/releases/tag/v5.4.1[WEB]