CVEfocus › CVE database › CVE-2026-118264

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

CVSS 9.1 CriticalEPSS 0.7% (higher than 49% of CVEs)Published 2026-10-28Updated 2026-10-30Assigner: GitHub_M

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.

CWE-444CWE-863

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
21Fix pending
5Under investigation
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-labstack-echoFix pendingUBUNTU-CVE-2026-118264
Ubuntu 26.04golang-github-labstack-echoUnder investigationUBUNTU-CVE-2026-118264
Ubuntu 24.04golang-github-labstack-echoUnder investigationUBUNTU-CVE-2026-118264
Ubuntu 22.04golang-github-labstack-echoUnder investigationUBUNTU-CVE-2026-118264
Ubuntu 22.04golang-github-labstack-echo.v2Under investigationUBUNTU-CVE-2026-118264
Ubuntu 22.04golang-github-labstack-echo.v3Under investigationUBUNTU-CVE-2026-118264
Ubuntu 20.04golang-github-labstack-echo.v2Fix pendingUBUNTU-CVE-2026-118264
Ubuntu 20.04golang-github-labstack-echo.v3Fix pendingUBUNTU-CVE-2026-118264
Debian 14golang-github-labstack-echoFix pendingDEBIAN-CVE-2026-118264
Debian 13golang-github-labstack-echoFix pendingDEBIAN-CVE-2026-118264
Debian 12golang-github-labstack-echoFix pendingDEBIAN-CVE-2026-118264
Red Hat Enterprise Linux 10grafanaFix pending
Affected
Red Hat Enterprise Linux 10grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 10osbuild-composerFix pending
Affected
Red Hat Enterprise Linux 10osbuild-composer-coreFix pending
Affected
Red Hat Enterprise Linux 10osbuild-composer-workerFix pending
Affected
Red Hat Enterprise Linux 9grafanaFix pending
Affected
Red Hat Enterprise Linux 9grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 9osbuild-composerFix pending
Affected
Red Hat Enterprise Linux 9osbuild-composer-coreFix pending
Affected
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonFix pending
Affected
Red Hat Enterprise Linux 9osbuild-composer-workerFix pending
Affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8osbuild-composerFix pending
Affected
Red Hat Enterprise Linux 8osbuild-composer-coreFix pending
Affected
Red Hat Enterprise Linux 8osbuild-composer-dnf-jsonFix pending
Affected
Red Hat Enterprise Linux 8osbuild-composer-workerFix pending
Affected
Go librarygithub.com/labstack/echo/v4Fixed4.16.1GHSA-cxf3-9h37-7rr8
Go librarygithub.com/labstack/echo/v5Fixed5.4.1GO-2026-6839

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.