Hugo before v0.167.0 Path Traversal via css.Sass Import Fallback
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.
CVE-2026-109574
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-109574
hugo
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "gohugoio",
"product": "hugo",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.167.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.167.0",
"versionType": "semver"
}
],
"packageURL": "pkg:golang/github.com/gohugoio/hugo",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-109574
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #17123 · Revision 1
- Added to Heist Feed
- Publisher date