CVE-2026-118264 Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls
CriticalCVSS 9.1
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/ansible-automation-platform/automation-orchestrator-temporal-rhel9(Red Hat:ansible_automation_orchestrator:2026.8) | All versions | No fix listed |
| redhat/costmanagement/costmanagement-ros-ocp-backend-rhel9(Red Hat:cost_management_on_premise:1) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9(Red Hat:multicluster_globalhub) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9(Red Hat:multicluster_globalhub:5) | All versions | No fix listed |
| redhat/rhacm2/acm-grafana-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/rhacm2/acm-multicluster-observability-addon-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/rhceph/rhceph-5-dashboard-rhel8(Red Hat:ceph_storage:5) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/osbuild-composer(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/osbuild-composer(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/osbuild-composer(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/container-native-virtualization/hyperconverged-cluster-operator-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/container-native-virtualization/hyperconverged-cluster-webhook-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/container-native-virtualization/hyperconverged-cluster-operator-rhel9(Red Hat:container_native_virtualization:5) | All versions | No fix listed |
| labstack github.com/labstack/echo/v4(Go) | >= 4.0.0, < 4.16.1 | 4.16.1 |
| labstack github.com/labstack/echo/v4(Go) | >= 5.0.0, < 5.4.1 | 5.4.1 |
| labstack github.com/labstack/echo/v4 | = >= 4.0.0, < 4.16.1 | No fix listed |
| labstack github.com/labstack/echo/v4 | = >= 5.0.0, < 5.4.1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.11.1-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.11.1-2 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.12.0-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.2.1-3 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/golang-github-labstack-echo(Debian:13) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:13) | = 4.12.0-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:14) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:14) | = 4.12.0-1 | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo.v2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo.v3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2563120 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec patch
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f patch
- https://github.com/labstack/echo/releases/tag/v4.16.1
- https://github.com/labstack/echo/releases/tag/v5.4.1
- https://github.com/labstack/echo/security/advisories/GHSA-cxf3-9h37-7rr8 vendor-advisory
- github.com product
- Debian Security Tracker CVE-2026-118264 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking