CVE-2026-109574: Hugo before v0.167.0 Path Traversal via css.Sass Import Fallback

Published Oct 12, 2026
·
Updated

Hugo before v0.167.0 contains a path traversal vulnerability in css.Sass that allows malicious themes or modules to read files outside the project root through the Sass compiler's import fallback. Attackers can ship stylesheets with relative, absolute, or symlinked @import or @use targets to compile readable files into the published site CSS.

Affected Software

8 affected components
Hugo Hugo<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:48 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 users running a version before v0.167.0 are exposed when they build a site using an untrusted or malicious theme or module that invokes css.Sass. The issue can cause readable files outside the project root to be incorporated into generated site CSS.

2

What does an attacker need to exploit it?

An attacker needs to supply or influence a theme or module stylesheet processed by css.Sass, such as through a malicious @import or @use target. Exploitation requires a user to build the site with that content, as reflected by the UI:R vector.

3

Are default builds affected?

The provided information identifies css.Sass import fallback as the affected path. A build is relevant when it compiles Sass content containing attacker-controlled relative, absolute, or symlinked import or use targets.

4

What can be done before upgrading?

Avoid building sites with untrusted themes or modules, and review Sass @import and @use directives in any third-party theme or module before use. In particular, reject imports that use relative traversal, absolute paths, or symlinked paths outside the project 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