CVE-2026-109574

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

State
Published
Severity
6.7 Medium
Published
Oct 12, 2026
Updated
Oct 26, 2026
Reserved
Oct 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.7 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
hugogohugoio
  • before 0.167.0Affected
  • 0.167.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.