CVE-2026-118262
Published:October 28, 2026
Updated:October 29, 2026
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.
Affected Packages
https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v4.15.0 <v4.16.1Fix Suggestion:
Update to version v4.16.1https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.4.1Fix Suggestion:
Update to version v5.4.1github.com/labstack/echo/v4 (GO):
Affected version(s) >=v4.15.0 <v4.16.1Fix Suggestion:
Update to version v4.16.1github.com/labstack/echo/v5 (GO):
Affected version(s) >=v5.0.0 <v5.4.1Fix Suggestion:
Update to version v5.4.1Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Missing Release of Resource after Effective Lifetime