Amenazas en vivo

Todas las CVE / Goshs

CVE-2026-40884Goshs

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
—
Requiere autenticación
No
Publicada
21 abr 2026
Actualizada
26 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-306
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. This vulnerability is fixed in 2.0.0-beta.6.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Goshs.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/patrickhener/goshs ≤ 1.1.4 sin versión corregida —
Go github.com/patrickhener/goshs todas sin versión corregida —
Go github.com/patrickhener/goshs/v2 < 2.0.0 2.0.0 go get github.com/patrickhener/goshs/v2@v2.0.0
Go github.com/patrickhener/goshs/v2 < 2.0.0 2.0.0 go get github.com/patrickhener/goshs/v2@v2.0.0

Según OSV / GitHub Advisories (GHSA-c29w-qq4m-2gcv, GO-2026-5303). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
goshsgoshs< 2.0.0
goshsgoshs2.0.0
goshsgoshs2.0.0
goshsgoshs2.0.0
goshsgoshs2.0.0
goshsgoshs2.0.0

Boletines oficiales

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.