Skip to content

CVE-2026-118262 Echo: WebSocket proxy can retain connections and handlers after client disconnect

HighCVSS 8.2 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Echo is a Go web framework. From 4.15.0 until 4.16.1 and 5.4.1, Echo's Proxy middleware can retain a handler, copy goroutines, and network connections after a WebSocket client disconnects when the upstream keeps its connection open. The raw proxy waits for both copy directions without reliably closing the peer connection when one direction ends, including when a rejected upgrade response uses HTTP keep-alive. Repeated connections can accumulate resources and cause denial of service, depending on proxy-route accessibility, upstream behavior, and connection deadlines. This issue is fixed in 4.16.1 and 5.4.1.

Upgrade path

11 packages: 1 fixed, 9 with no fix yet.

PackageAffectedFixed inStatus
debian/golang-github-labstack-echo(Debian 12) = 4.2.1-3; = 4.11.1-1; = 4.11.1-2; = 4.12.0-1 +1 more No fix listed No fix yet
debian/golang-github-labstack-echo(Debian 13) = 4.12.0-1; All versions No fix listed No fix yet
debian/golang-github-labstack-echo(Debian 14) = 4.12.0-1; All versions No fix listed No fix yet
ubuntu/golang-github-labstack-echo(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-github-labstack-echo(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/golang-github-labstack-echo(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/golang-github-labstack-echo(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/golang-github-labstack-echo.v2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-github-labstack-echo.v3(Ubuntu 22.04) All versions No fix listed No fix yet
labstack github.com/labstack/echo/v4(Go) >= 4.15.0, < 4.16.1; >= 5.0.0, < 5.4.1 4.16.1, 5.4.1 Fixed
labstack github.com/labstack/echo/v4 = >= 4.15.0, < 4.16.1; = >= 5.0.0, < 5.4.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
labstack github.com/labstack/echo/v4(Go) >= 4.15.0, < 4.16.1 4.16.1
labstack github.com/labstack/echo/v4(Go) >= 5.0.0, < 5.4.1 5.4.1
labstack github.com/labstack/echo/v4 = >= 4.15.0, < 4.16.1 No fix listed
labstack github.com/labstack/echo/v4 = >= 5.0.0, < 5.4.1 No fix listed
debian/golang-github-labstack-echo(Debian:12) All versions No fix listed
debian/golang-github-labstack-echo(Debian:12) = 4.11.1-1 No fix listed
debian/golang-github-labstack-echo(Debian:12) = 4.11.1-2 No fix listed
debian/golang-github-labstack-echo(Debian:12) = 4.12.0-1 No fix listed
debian/golang-github-labstack-echo(Debian:12) = 4.2.1-3 No fix listed
debian/golang-github-labstack-echo(Debian:13) All versions No fix listed
debian/golang-github-labstack-echo(Debian:13) = 4.12.0-1 No fix listed
debian/golang-github-labstack-echo(Debian:14) All versions No fix listed
debian/golang-github-labstack-echo(Debian:14) = 4.12.0-1 No fix listed
ubuntu/golang-github-labstack-echo(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-github-labstack-echo.v2(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-github-labstack-echo.v3(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-github-labstack-echo(Ubuntu:24.04) All versions No fix listed
ubuntu/golang-github-labstack-echo(Ubuntu:26.04) All versions No fix listed
ubuntu/golang-github-labstack-echo(Ubuntu:26.10) All versions No fix listed

References