CVE-2026-40884Goshs
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Goshs · Goshs Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Goshs.
- 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/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)
| Fabricante | Producto | Versiones |
|---|---|---|
| goshs | goshs | < 2.0.0 |
| goshs | goshs | 2.0.0 |
| goshs | goshs | 2.0.0 |
| goshs | goshs | 2.0.0 |
| goshs | goshs | 2.0.0 |
| goshs | goshs | 2.0.0 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
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.
- github.com Exploit Vendor Advisory