Path Traversal Vulnerability in Hugo Static Site Generator
CVE-2026-100692
8.7HIGH
What is CVE-2026-100692?
A path traversal vulnerability exists in the Hugo static site generator versions between v0.123.0 and v0.165.9, where symlink checks do not effectively confine operations to the intended directories. This allows potential access to filesystem paths beyond the intended scope, enabling themes or modules placed in the themes/ directory to contain symlinks that point to external locations. Consequently, files accessed through these symlinks can be read during site builds, compromising the integrity of the build process. Users are advised to upgrade to version v0.166.0 or later, which implements proper confinement of symlinked directories and protects against unauthorized access to system files.
Affected Version(s)
hugo 0 < 0.166.0
hugo 0.166.0
