Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach accessible Echo proxy route
-
DeliverySend client WebSocket upgrade request
-
ExploitUpstream rejects upgrade but keeps connection alive
-
ExecutionReuse raw tunnel with smuggled HTTP requests
-
ImpactAccess protected upstream resource bypassing Echo route auth
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service HTTP request consistency
|
| Exploitation Conditions | Exploitation requires an Echo application (v4 4.0.0-4.16.0 or v5 5.0.0-5.4.0) that uses the Proxy middleware with a client-reachable proxy route; a configured upstream that rejects the client's WebSocket upgrade with an ordinary HTTP keep-alive response WITHOUT closing the connection; and a target resource on that upstream that relies on Echo's route-level authentication/authorization and enforces no independent upstream authorization. Limiting factors: it does not provide arbitrary-host proxying and does not bypass the upstream's own authentication, and merely returning a non-101 response from the upstream is NOT a sufficient mitigation. The dependence on the upstream's rejected-upgrade behavior (the AT:P attack requirement) is the main constraint beyond attacker control. |
| Impact | Signals mostly align toward elevated but conditional risk. The vuln.today Decision label is act_now, and the CVSS 4.0 base score is 9.1 (AV:N/AC:L/AT:P/PR:N/UI:N, confidentiality and integrity High), reflecting an unauthenticated, network-reachable authorization bypass. However, the AT:P (attack requirement present) metric correctly captures that exploitation is not fully attacker-controlled: it depends on a cooperating upstream that rejects the WebSocket upgrade with a keep-alive (non-101) response rather than closing the connection. No EPSS score, CISA KEV listing, or SSVC-style automatable/exploitation fields were supplied in the input, so widespread-exploitation probability cannot be quantified from the data given - the act_now label here is driven by severity and the auth-bypass nature, not by confirmed in-the-wild activity. No public exploit code is referenced; the flaw was reported privately by @Duodum. Net: this is a genuine priority for anyone running Echo's Proxy middleware, but its real-world impact is gated by a specific deployment (proxy route reachable, upstream rejects upgrades without closing, and the upstream enforces no independent authorization), so it is narrower than the raw 9.1 suggests for the general Echo population. |
| Exploit ScenarioDerived | An attacker reaches an Echo application that exposes a Proxy middleware route and sends a client WebSocket upgrade request. The configured upstream rejects the upgrade with an ordinary keep-alive HTTP response instead of closing the connection, yet Echo has already selected a raw tunnel; the attacker then sends further HTTP requests on that same connection, which are forwarded directly to the upstream without passing through Echo's router or route-level authentication/authorization middleware. No public exploit code is referenced, though the mechanism is detailed in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 28, 2026
Echo's Proxy middleware can forward later HTTP requests straight to the configured upstream without invoking Echo's router or route-specific middleware after a client WebSocket upgrade is rejected by that upstream with an ordinary keep-alive response. This affects Echo v4 releases from 4.0.0 through 4.16.0 and v5 releases from 5.0.0 through 5.4.0, and can let unauthenticated remote attackers reach upstream resources that rely solely on Echo route-level authentication or authorization. Exploitation is conditional-it needs a reachable proxy route, an upstream that keeps the connection alive after rejecting the upgrade, and a target with no independent upstream authorization-so the independent assessment rates it high severity with high attack complexity; fixed releases are 4.16.1 and 5.4.1, and no public exploit or CISA KEV entry was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to Echo v4.16.1 or v5.4.1; these releases route WebSocket upgrades through Go's HTTP reverse proxy and enter a tunnel only after a valid upstream upgrade response, so rejected upgrades remain ordinary HTTP requests. The advisory lists fix commits https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f for v4 and https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec for v5, along with the GHSA advisory at https://github.com/labstack/echo/security/advisories/GHSA-cxf3-9h37-7rr8. If immediate upgrade is not possible, reject WebSocket upgrade requests before they reach affected Echo proxy routes, or enforce authentication and authorization independently at every upstream resource; merely returning a non-101 response from the upstream does not prevent the vulnerable raw tunnel. Rejecting upgrades will disable legitimate WebSocket proxying through those routes, and adding upstream authorization may require configuration changes or duplicate policy enforcement.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Echo is a Go web framework whose Proxy middleware handles WebSocket upgrade requests by taking over the client connection and creating a raw bidirectional tunnel. The flaw is a request-smuggling and authorization-boundary issue (CWE-444 with CWE-863): the middleware selected the raw tunnel before confirming that the configured upstream had accepted the upgrade with 101 Switching Protocols. If the upstream instead returned an ordinary HTTP response and left the connection open using keep-alive, later HTTP requests on that same client connection were written directly to the upstream, skipping Echo's router, route matching, and route-specific middleware. The advisory notes this does not provide arbitrary-host proxying and does not bypass the upstream's own authentication; the trigger depends on the upstream's rejected-upgrade behavior, which corresponds to the AT:P attack requirement in the assessed vector. Affected Go modules are github.com/labstack/echo/v4 (>=4.0.0, <4.16.1) and github.com/labstack/echo/v5 (>=5.0.0, <5.4.1); runtime reproductions confirmed v4.15.0, v4.16.0, v5.0.0, and v5.4.0, and source history shows the missing upgrade-response validation in v4.0.0.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and unauthenticated (AV:N/PR:N/UI:N), but AC:H because success depends on a cooperating upstream keep-alive rejection; bypass exposes and lets attackers act on protected resources (C:H/I:H), no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Bug class: CWE-444, inconsistent interpretation of HTTP requests between proxy and upstream, with secondary authorization impact matching CWE-863.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical vulnerability in the Echo web framework (Go) allows unauthenticated attackers to bypass route-level authentication and access protected upstream resources when a WebSocket upgrade is rejected. Organizations using affected Echo versions (v4.0.0-4.16.0 and v5.0.0-5.4.0) in their proxy configurations are at risk of unauthorized data access, potentially exposing sensitive internal systems. Leadership should prioritize remediation due to the critical severity and the framework's common use in API gateways and microservices.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
HTTP request smuggling exploits inconsistencies in how front-end and back-end servers parse HTTP message boundaries.
EUVD-2026-112396
GHSA-cxf3-9h37-7rr8
NVD
CVE.org
Exploit-DB