CVE-2026-118264: Vulnerability in github.com/labstack/echo/v4

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

Go, CWE-444, CWE-863

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-cxf3-9h37-7rr8
Vector
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
Weakness
CWE-444, CWE-863
Published
23 Oct 2026
Last change
4 Nov 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/labstack/echo/v4 Go, Affected from 4.0.0 before 4.16.1. Fixed in 4.16.1
  • github.com/labstack/echo/v5 Go, Affected from 5.0.0 before 5.4.1. Fixed in 5.4.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes