2 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...
8.7CVSS
SaveExploits0References2
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...
8.7CVSS6AI score
SaveExploits0References2
20