Amenazas en vivo

Todas las CVE / Gohugo

CVE-2026-58403Gohugo Hugo

Media 5.9 Sin autenticación

Prioridad
50
CVSS 4.0
5.9
EPSS
—
Requiere autenticación
No
Publicada
6 jul 2026
Actualizada
25 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-59
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/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

Hugo is a static site generator. From v0.123.0 through v0.163.0, Hugo's virtual filesystem is designed so that files under a mount cannot reach outside the mount tree, but a regression caused RootMappingFs.statRoot to call Stat, which follows symlinks, instead of Lstat, so a direct os.ReadFile "somefile" where somefile was a symlink pointing outside the mount would return the target's contents. This effectively let a symlink planted inside a theme or local mount read arbitrary files reachable to the user running hugo. This issue is fixed in v0.163.1.

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 Hugo.
  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/gohugoio/hugo ≥ 0.123.0 < 0.163.1 0.163.1 go get github.com/gohugoio/hugo@v0.163.1
Go github.com/gohugoio/hugo ≥ 0.123.0 < 0.163.1 0.163.1 go get github.com/gohugoio/hugo@v0.163.1

Según OSV / GitHub Advisories (GHSA-c3wq-j5vh-68rc, GO-2026-5309). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gohugohugo≥ 0.123.0 < 0.163.1

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.