What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: gohugoio hugo 0.167.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-109574 or the next vulnerability affects your stack