sadrobot

← Back to the monthly list

CVE-2026-118264 labstack · echo

9.1 Critical

AI summary

Echo's Proxy middleware, from 4.0.0 until 4.16.1 and 5.4.1, forwards later requests directly to the upstream after a rejected WebSocket upgrade, skipping Echo's router and route middleware. This can bypass route-level authentication or authorization, though exploitation requires specific conditions. Critical (CVSS 9.1); upgrade to 4.16.1 or 5.4.1.

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

Published
2026-10-28 19:17 UTC
Modified
2026-11-04 23:10 UTC
CVSS
9.1 Critical 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
EPSS
0.70% (percentile 49)
ENISA EUVD
EUVD-2026-112396
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: total
CWE
CWE-444
Category
Edge device (VPN, firewall, router)

CVSS vector

Attack vector
network
Attack complexity
low
Attack requirements
present
Privileges required
none
User interaction
none
Confidentiality
high
Integrity
high
Availability
none

References