REDHAT-BUG-2550016: Medium severity Hugo Hugo vulnerability

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

1 affected component
Hugo Hugo>=0.162.0<0.167.0

Event History

Oct 12, 2026
Data Sourced
via Red Hat·10:43 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which Hugo builds are affected?

Hugo versions from v0.162.0 up to, but not including, v0.167.0 are affected.

2

Who is realistically exposed to exploitation?

Build environments using a theme or module controlled by an attacker are exposed. The attacker must be able to place a symlink or NTFS junction at a virtual ancestor directory in that theme or module.

3

What can the attacker cause during a vulnerable build?

The crafted link can cause resources.Match to enumerate and publish local files outside the theme or module root during the build.

4

What can be done if upgrading is not immediately possible?

Do not use untrusted themes or modules, and review themes and modules for symlinks or NTFS junctions at virtual ancestor directories. Treat builds using externally controlled theme content as potentially exposed until Hugo is updated to v0.167.0 or later.

5

How can I identify potentially affected environments?

Identify Hugo installations running v0.162.0 through versions before v0.167.0, then determine whether their builds consume attacker-controlled themes or modules. Inspect those theme and module directories for symlinks or NTFS junctions that could point outside their root.

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