# CVE-2026-118264: Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls

- Severity: Critical 9.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-23T20:49:37.000Z
- Modified: 2026-11-05T23:26:10.984Z
- Also known as: GHSA-cxf3-9h37-7rr8, GO-2026-6839
- Weaknesses: CWE-444, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- labstack echo: >= 4.0.0, < 4.16.1; >= 5.0.0, < 5.4.1
- github.com/labstack/echo/v4 (Go): from 4.0.0 before 4.16.1
- github.com/labstack/echo/v5 (Go): from 5.0.0 before 5.4.1

## Every score

- GitHub_M: CVSS:4.0 9.1 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/labstack/echo/security/advisories/GHSA-cxf3-9h37-7rr8> (advisory, web)
- <https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec> (fix, web)
- <https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f> (fix, web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-118264](https://www.cve.org/CVERecord?id=CVE-2026-118264), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-cxf3-9h37-7rr8](https://github.com/advisories/GHSA-cxf3-9h37-7rr8), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6839](https://pkg.go.dev/vuln/GO-2026-6839), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-118264](https://nvd.nist.gov/vuln/detail/CVE-2026-118264), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-118264 · Whole record: https://cve.day/CVE-2026-118264.json · Rebuilt by cve.day 2026-11-25T22:59:47.670Z
