CVE-2026-118264Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls
- 9.1CriticalCVSS base score
- 0.43%Exploitation in 30 daysEPSS · top 62% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Echo is a Go web framework. From 4.0.0 until 4.16.1 and 5.4.1, Echo's Proxy middleware selects a raw tunnel from a client WebSocket upgrade request before verifying that the configured upstream accepted the upgrade. If the upstream rejects the upgrade with an ordinary keep-alive response, later HTTP requests on the connection are sent directly to that upstream without passing through Echo's router or route-specific middleware. This can bypass authentication or authorization enforced only by Echo routes, but requires an accessible proxy route, a cooperating rejected-upgrade response, and a target without independent upstream authorization. This issue is fixed in 4.16.1 and 5.4.1.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 2 days later
· 2 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Critical9.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVDNVD · Undergoing Analysis | 4.0 | Critical9.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/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 |
- EPSS (exploitation in 30 days)
- 0.43% · top 62% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/labstack/echo/v4GHSA-cxf3-9h37-7rr8 (opens in a new tab)
- Gogithub.com/labstack/echo/v5GHSA-cxf3-9h37-7rr8 (opens in a new tab)
References
References5
- https://github.com/labstack/echo/security/advisories/GHSA-cxf3-9h37-7rr8 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec (opens in a new tab)x_refsource_MISC
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f (opens in a new tab)x_refsource_MISC
- https://github.com/labstack/echo/releases/tag/v4.16.1 (opens in a new tab)x_refsource_MISC
- https://github.com/labstack/echo/releases/tag/v5.4.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-112396 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cxf3-9h37-7rr8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-118264)Record last updated .