CVE-2026-140395: Schwachstelle in Gohugoio Hugo

Bald aktualisieren. Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read arbitrary build host files by supplying '..' segments in _vendor/modules.txt import paths. Attackers can make Hugo treat any directory as a module root and use readFile or static mounts to publish secrets, credentials, and system files in the generated site.

CWE-22

Ausnutzung
Nicht bestätigt
Schweregrad
8,7 von 10
Angriffsrisiko
Unbekannt
Korrektur
Korrigierte Version bekannt
Update-Frist
Keine Frist gesetzt

Details

Hinweis-ID
GHSA-rhmv-h4x2-hfcr
Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Fehlerklasse
CWE-22
Veröffentlicht
1. Dez. 2026
Letzte Änderung
2. Dez. 2026

Betroffene Produkte

Betroffene Versionen und erste korrigierte Version

  • Gohugoio Hugo Ab 0.56.0 bis vor 0.170.0. Behoben in 0.170.0

Sicherheitshinweise

Hinweise von Herstellern und Sicherheitsstellen

Weiter