
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-118264 is an authentication bypass vulnerability in the Proxy middleware of the Echo Go web framework (by LabStack) that allows unauthenticated attackers to circumvent route-level access controls via a rejected WebSocket upgrade. It affects Echo v4.0.0 through v4.16.0 and v5.0.0 through v5.4.0. The vulnerability was reported by researcher @Duodum and disclosed on October 22, 2026, with patches released the same day. It carries a CVSS v4.0 base score of 9.1 (Critical) (GitHub Advisory, Feedly).
The root cause is a race condition in Echo's Proxy middleware logic (CWE-444: HTTP Request Smuggling; CWE-863: Incorrect Authorization): the middleware selected a raw TCP tunnel for WebSocket upgrade requests before confirming that the upstream accepted the upgrade with a valid HTTP 101 response. If the upstream rejected the upgrade but kept the connection alive (returning an ordinary keep-alive HTTP response), subsequent HTTP requests on that same connection were forwarded directly to the upstream, bypassing Echo's router and all route-specific middleware — including authentication and authorization handlers. The patch routes WebSocket upgrades through Go's standard HTTP reverse proxy and only enters a tunnel after receiving a confirmed HTTP 101 upgrade response from the upstream; rejected upgrades are treated as ordinary HTTP requests (GitHub Advisory, v4.16.1 Release).
Successful exploitation allows an unauthenticated attacker to access upstream resources that are protected solely by Echo route-level middleware (e.g., JWT validation, session checks, or custom auth middleware), effectively bypassing authentication and authorization controls. The vulnerability impacts confidentiality (high) and integrity (high) of the vulnerable system, as an attacker can read and potentially modify data on the upstream target without authorization. Availability is not directly impacted, and the vulnerability does not enable arbitrary-host proxying or bypass authentication mechanisms implemented independently at the upstream service itself (GitHub Advisory, Feedly).
As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). Exploitation requires specific preconditions: an accessible Echo proxy route, an upstream that rejects the WebSocket upgrade without closing the connection, and a target resource on that upstream lacking independent authorization. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
Connection: Upgrade, Upgrade: websocket, Sec-WebSocket-Key, etc.) targeting the proxied upstream.Connection: keep-alive), rejecting the WebSocket upgrade while keeping the TCP connection open.Upgrade: websocket header) followed immediately by standard HTTP requests on the same connection without re-authentication; upstream access logs showing requests that lack expected authentication tokens or session cookies.Authorization or session headers that Echo middleware would normally validate or inject).Upgrade Echo to v4.16.1 (for v4.x users) or v5.4.1 (for v5.x users), which validate upstream WebSocket upgrade responses through Go's HTTP reverse proxy before establishing a tunnel (v4.16.1 Release, v5.4.1 Release). As a workaround, reject WebSocket upgrade requests before they reach affected Echo proxy routes (e.g., at a WAF or load balancer layer), or enforce authorization independently at every upstream resource rather than relying solely on Echo route middleware. Note that Go 1.26 or later is required when upgrading to v4.16.1 due to patched golang.org/x/ dependencies (GitHub Advisory).
The vulnerability was noted by the DailyCyberSecurity account on Infosec.exchange (Mastodon) and covered by Meterpreter.org shortly after disclosure. Radar.offseq.com published threat intelligence entries describing the bypass mechanism. Community reaction has been moderate, consistent with a framework-level security fix requiring specific preconditions for exploitation. No major vendor statements beyond the LabStack advisory and release notes have been identified.
Fix availability across major Linux distributions and their releases.
bookworm
golang-github-labstack-echo
sid
golang-github-labstack-echo
trixie
golang-github-labstack-echo
devel
golang-github-labstack-echo
focal (esm-apps)
golang-github-labstack-echo.v2
jammy
golang-github-labstack-echo
jammy (esm-apps)
golang-github-labstack-echo
noble
golang-github-labstack-echo
noble (esm-apps)
golang-github-labstack-echo
resolute
golang-github-labstack-echo
resolute (esm-apps)
golang-github-labstack-echo
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."