CVE-2026-118262
HIGH 8.2CVSS 4.0Echo: WebSocket proxy can retain connections and handlers after client disconnect
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.
- Published
- 28 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Undergoing Analysis
- Weakness
- CWE-772
- Also known as
- GHSA-9969-6676-49h5GO-2026-6838
- Sources
- NVDJSONOSV GHSA-9969-6676-49h5JSONOSV GO-2026-6838JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/labstack/echo/v4 | >= 4.15.0, < 4.16.1 | 4.16.1 |
| OSV | Go | github.com/labstack/echo/v5 | >= 5.0.0, < 5.4.1 | 5.4.1 |
References
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec · WEB, FIX
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f · WEB, FIX
- https://github.com/labstack/echo/releases/tag/v4.16.1 · WEB
- https://github.com/labstack/echo/releases/tag/v5.4.1 · WEB
- https://github.com/labstack/echo/security/advisories/GHSA-9969-6676-49h5 · WEB, ADVISORY
- https://github.com/labstack/echo · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 28 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Oct 2026)