CVE-2026-118262: Echo: WebSocket proxy can retain connections and handlers after client disconnect in github.com/labstack/echo
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-9969-6676-49h5, GO-2026-6838
Summary
In github.com/labstack/echo, the WebSocket proxy can retain connections and handlers after a client disconnects (CVE-2026-118262). Teams using github.com/labstack/echo/v4 (4.15.0 prior to 4.16.1) or github.com/labstack/echo/v5 (5.0.0 prior to 5.4.1) should upgrade to the fixed versions.
Who is affected
Go applications using github.com/labstack/echo/v4 from version 4.15.0 or github.com/labstack/echo/v5 from version 5.0.0 are affected when utilizing the Echo WebSocket proxy. When a client disconnects, the WebSocket proxy can retain the connections and handlers rather than releasing them. Additional details regarding specific configuration prerequisites, CWE classification, and severity impact are not documented in the record.
Exploitability
The CVSS vector and base score are not provided, and the severity is listed as unknown. The EPSS score is 0.003 (percentile 0.233), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, so active exploitation is not indicated.
Remediation
- Upgrade github.com/labstack/echo/v4 to version 4.16.1 if your project uses an affected v4 release.
- Upgrade github.com/labstack/echo/v5 to version 5.4.1 if your project uses an affected v5 release.
How to check your project
- Check go.mod, go.sum, or dependency inventories (for example via go list -m all) to identify if github.com/labstack/echo/v4 is at version 4.15.0 through 4.16.0 or github.com/labstack/echo/v5 is at version 5.0.0 through 5.4.0.
- Review application code to determine whether Echo's WebSocket proxy is in use.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
>= 4.15.0, < 4.16.1 | 4.16.1 | go get github.com/labstack/echo/[email protected] |
| Go | github.com/labstack/echo/v5 |
>= 5.0.0, < 5.4.1 | 5.4.1 | go get github.com/labstack/echo/[email protected] |
FAQ
Which package versions are affected and fixed for CVE-2026-118262?
For github.com/labstack/echo/v4, the issue was introduced in 4.15.0 and fixed in 4.16.1; for github.com/labstack/echo/v5, it was introduced in 5.0.0 and fixed in 5.4.1.
What are the CVSS score, CWE, and exploitation status for this vulnerability?
The CVSS vector, base score, severity, and CWE are not documented. The EPSS score is 0.003 (percentile 0.233), and it is not listed in the CISA Known Exploited Vulnerabilities catalog.
Are any workarounds documented for systems that cannot upgrade right away?
Workarounds are not documented in the provided record; the only documented resolution is upgrading to github.com/labstack/echo/v4 4.16.1 or github.com/labstack/echo/v5 5.4.1.
Original advisory description
References
- ADVISORY https://github.com/labstack/echo/security/advisories/GHSA-9969-6676-49h5
- FIX https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec
- FIX https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f
- WEB https://github.com/labstack/echo/releases/tag/v4.16.1
- WEB https://github.com/labstack/echo/releases/tag/v5.4.1
Source records: GO-2026-6838 (OSV.dev) · EPSS by FIRST, 2026-11-26.