CVE-2026-109574: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gohugoio hugo
Description
CVE-2026-109574 is a path traversal vulnerability in the Hugo static site generator before version 0.167.0. It affects the Sass compiler's import fallback mechanism, allowing malicious themes or modules to read files outside the project root by using crafted @import or @use statements. This can lead to unauthorized disclosure of files by compiling their contents into the published CSS output.
CVSS v4.0
Score 6.7medium
Affected software
gohugoio
hugo
pkg:golang/github.com/gohugoio/hugoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Hugo versions prior to 0.167.0 contain a path traversal vulnerability in the css.Sass component. The flaw allows attackers to craft stylesheets with relative, absolute, or symlinked @import or @use targets that bypass directory restrictions, enabling reading of arbitrary files outside the project root directory. These files can then be compiled into the site's CSS, potentially exposing sensitive information.
Potential Impact
An attacker who can supply or modify themes or modules can exploit this vulnerability to read arbitrary files on the system where Hugo is run, outside the intended project directory. This could lead to disclosure of sensitive data embedded into the generated CSS files. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
Upgrade Hugo to version 0.167.0 or later, where this path traversal vulnerability has been fixed. No other mitigation steps are indicated or required according to the available information.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-12T19:27:55.967Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6acd63de2cdf04f656e1e413
Added to database: 10/12/2026, 22:49:02 UTC
Last enriched: 10/13/2026, 00:04:43 UTC
Last updated: 10/13/2026, 01:48:21 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.