Skip to content
CVE PROGRAM SOURCE RECORD6.7 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gohugoio hugo

Default version status: unaffected

  • 0 to < 0.167.0affected
  • 0.167.0unaffected
pkg:golang/github.com/gohugoio/hugo

References