CVE-2026-118264labstack echo
Bypass de autenticación en middleware Proxy de Echo
Crítica 9.1 Sin autenticación
Seguir: esta CVE · labstack · labstack echo Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 4.0
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 28 oct 2026
- Actualizada
- 4 nov 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- 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
Qué pasa
El middleware Proxy de Echo (versiones 4.0.0 a 4.16.0 y 5.0.0 a 5.4.0) selecciona un túnel WebSocket antes de verificar que el servidor ascendente aceptó la actualización. Si el servidor rechaza la actualización, las solicitudes HTTP posteriores se envían directamente sin pasar por el router de Echo, lo que puede eludir autenticación o autorización configuradas en rutas específicas.
Ver el texto original de NVD (en inglés)
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.
Qué hacer
Hay parche · versiones corregidas: 4.16.1, 5.4.1
Actualiza Echo a versión 4.16.1 o 5.4.1 según la rama que uses.
- Aplica la actualización de seguridad del fabricante para echo.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
≥ 4.0.0 < 4.16.1 |
4.16.1 |
go get github.com/labstack/echo/v4@v4.16.1 |
| Go | github.com/labstack/echo/v4 |
≥ 4.0.0 < 4.16.1 |
4.16.1 |
go get github.com/labstack/echo/v4@v4.16.1 |
| Go | github.com/labstack/echo/v5 |
≥ 5.0.0 < 5.4.1 |
5.4.1 |
go get github.com/labstack/echo/v5@v5.4.1 |
| Go | github.com/labstack/echo/v5 |
≥ 5.0.0 < 5.4.1 |
5.4.1 |
go get github.com/labstack/echo/v5@v5.4.1 |
Según OSV / GitHub Advisories (GHSA-cxf3-9h37-7rr8, GO-2026-6839). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- labstack · echo
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.