CVE-2026-118262
published high CVSS 4.0 · 8.2Echo: WebSocket proxy can retain connections and handlers after client disconnect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| labstack | — | echo>= 4.15.0, < 4.16.1 · >= 5.0.0, < 5.4.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| labstack | echo | >= 4.15.0, < 4.16.1 (affected)>= 5.0.0, < 5.4.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-772 CWE-772: Missing Release of Resource after Effective Lifetime
References
5- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f
- https://github.com/labstack/echo/releases/tag/v4.16.1
- https://github.com/labstack/echo/releases/tag/v5.4.1
- https://github.com/labstack/echo/security/advisories/GHSA-9969-6676-49h5
Provider assertions
2GitHub_M · cna
Echo: WebSocket proxy can retain connections and handlers after client disconnect
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8c3e1b95687af4c773fa2daf39564bf98d85e1694b56aeba05722e9e7ea0b578
- Ingested
- 03 Nov 2026, 13:26:54 UTC
- Source record
- Official CVE record