Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-109574 EUVD-2026-98157GHSA-454m-4vr5-7p63

Hugo before v0.167.0 Path Traversal via css.Sass Import Fallback

Published Oct 12, 2026 · Updated Oct 26, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
gohugoio hugo < 0.167.0 0.167.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hugo 0.167.0-1 —
Debian 13 hugo No fix yet —
Debian 12 hugo No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 hugo No fix yet —
Ubuntu 26.04 LTS hugo No fix yet —
Ubuntu 22.04 LTS hugo No fix yet —
Ubuntu 20.04 LTS hugo No fix yet —
Ubuntu 18.04 LTS hugo No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS hugo No fix yet —
Ubuntu Pro 24.04 LTS hugo No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 hugo 0.167.0-0.2.hum1 RHSA-2026:80677

Advisories 1

References