CVE-2026-42091Goshs
Media 6.5 Sin autenticación
Seguir: esta CVE · Goshs · Goshs Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 4 may 2026
- Actualizada
- 26 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-352
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Qué pasa
goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. Combined with the unconditional Access-Control-Allow-Origin: * on the OPTIONS preflight handler (httpserver/server.go), any website can write arbitrary files to a goshs instance through the victim's browser — bypassing network isolation (e.g. localhost, internal network). This issue has been patched in version 2.0.2.
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.2 |
2.0.2 |
go get github.com/patrickhener/goshs/v2@v2.0.2 |
| Go | goshs.de/goshs |
todas |
sin versión corregida | — |
| Go | goshs.de/goshs/v2 |
< 2.0.2 |
2.0.2 |
go get goshs.de/goshs/v2@v2.0.2 |
Según OSV / GitHub Advisories (GHSA-rhf7-wvw3-vjvm, GO-2026-5625). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| goshs | goshs | < 2.0.2 |
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 Patch
- github.com Product Release Notes
- github.com Exploit Vendor Advisory