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

Medium 6.7 Published Updated

Malicious themes can read files outside the project root via Sass import fallbacks, exposing sensitive data in published CSS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-109574?

CVE-2026-109574 is a medium-severity path traversal vulnerability in gohugoio hugo, published on 12 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-109574?

How do I fix CVE-2026-109574?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-109574 being exploited?

There is no known exploitation of CVE-2026-109574 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-109574, GHSA-3jfr-vjcq-7jvf, GHSA-454m-4vr5-7p63, MINI-4594-9v7p-4j8m, MINI-5gx9-pf4p-8qcv, UBUNTU-CVE-2026-109574.

Is CVE-2026-109574 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free