CVE-2026-109596: Hugo from v0.162.0 before v0.167.0 Symlink File Disclosure via Nested Mount Ancestor

Published Oct 12, 2026
·
Updated

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.

Affected Software

8 affected components
Hugo Hugo>=0.162.0<0.167.0
ubuntu/hugo*
ubuntu/hugo*
ubuntu/hugo*
ubuntu/hugo*
ubuntu/hugo*
ubuntu/hugo*
ubuntu/hugo*

Event History

Oct 12, 2026
CVE Published
via MITRE·10:21 PM
Data Sourced
via MITRE·10:21 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:43 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·11:17 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Event
via NVD·11:17 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Hugo builds using versions from v0.162.0 before v0.167.0 are exposed when they use a malicious theme or module controlled by an attacker. The issue can disclose local files available to the build environment.

2

What must an attacker do to exploit it?

The attacker needs control of a Hugo theme or module used during the build. They can place a symlink or NTFS junction at a virtual ancestor directory in a nested mount, causing resources.Match to enumerate and publish files outside the theme or module root.

3

Is user interaction required?

Yes. The provided vector specifies UI:R, and exploitation depends on a user or build operator incorporating the attacker-controlled theme or module into a Hugo build.

4

What should teams do if they cannot update immediately?

Do not build with untrusted themes or modules, and review existing theme and module content for symlinks or NTFS junctions in nested-mount ancestor directories. Build in an environment that contains no sensitive files accessible to the Hugo process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203