4 matches found
CVE-2026-140395 Hugo 0.56.0 before 0.170.0 Path Traversal via _vendor/modules.txt
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...
CVE-2026-140395
Hugo versions 0.56.0 before 0.170.0 are vulnerable to a path traversal vulnerability via the _vendor/modules.txt file. The root cause allows malicious themes or modules to include '..' segments in import paths, tricking Hugo into treating arbitrary directories as module roots. This can lead to th...
Hugo: Build-host file disclosure through path traversal in vendored module metadata
Summary A theme or module can ship a vendor/modules.txt with an import path containing .. segments. Hugo used this path as the module's root directory without checking that it stays inside vendor, so a malicious theme can make Hugo treat any directory on the build host up to / as its module root...
GHSA-R48V-R4VW-H9V8 Hugo: Build-host file disclosure through path traversal in vendored module metadata
Summary A theme or module can ship a vendor/modules.txt with an import path containing .. segments. Hugo used this path as the module's root directory without checking that it stays inside vendor, so a malicious theme can make Hugo treat any directory on the build host up to / as its module root...