All reports
Medium

hugo: Hugo: Information disclosure via improper link resolution in nested mounts

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-109596

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-23

Description

Hugo from v0.162.0 before v0.167.0 contains an improper link resolution vulnerability that lets malicious themes or modules expose files outside their root via nested-mount ancestor directories. Attackers controlling a theme can place a symlink or NTFS junction at a virtual ancestor directory, causing resources.Match to list and publish local files during builds.

A flaw was found in Hugo. An improper link resolution vulnerability allows an attacker who controls a malicious theme or module to disclose sensitive files outside the intended project root. By placing a symbolic link (a pointer referencing another file location) or filesystem junction within a virtual ancestor directory, an attacker can cause Hugo to read and publish local host files during the site build process.