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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.7 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
hugogohugoio |
|
References
- GitHub Security Advisory (GHSA-3jfr-vjcq-7jvf)vendor-advisory
- VulnCheck Advisory: Hugo before v0.167.0 Path Traversal via css.Sass Import Fallbackthird-party-advisory
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.