CVE-2026-118262labstack echo
High 8.2 No auth needed
Follow: this CVE · labstack · labstack echo We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Oct 28, 2026
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-772
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for echo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
≥ 4.15.0 < 4.16.1 |
4.16.1 |
go get github.com/labstack/echo/v4@v4.16.1 |
| Go | github.com/labstack/echo/v4 |
≥ 4.15.0 < 4.16.1 |
4.16.1 |
go get github.com/labstack/echo/v4@v4.16.1 |
| Go | github.com/labstack/echo/v5 |
≥ 5.0.0 < 5.4.1 |
5.4.1 |
go get github.com/labstack/echo/v5@v5.4.1 |
| Go | github.com/labstack/echo/v5 |
≥ 5.0.0 < 5.4.1 |
5.4.1 |
go get github.com/labstack/echo/v5@v5.4.1 |
Per OSV / GitHub Advisories (GHSA-9969-6676-49h5, GO-2026-6838). Check the version in your lockfile before upgrading.
Affected products
- labstack · echo
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.