Answer in brief
CVE-2026-140395 records a High severity (CVSS 8.7) vulnerability in Hugo 0.56.0 before 0.170.0 Path Traversal via _vendor/modules.txt. The current sources do not mark it as known exploited. The current feed maps gohugoio/hugo (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.7. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps gohugoio/hugo (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| gohugoio/hugogeneric | >=0.56.0 <0.170.0 | 0.170.0 |
Published upstream
Dec 1, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 1, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Dec 1, 2026
Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read arbitrary build host files by supplying '..' segments in _vendor/modules.txt import paths. Attackers can make Hugo treat any directory as a module root and use readFile or static mounts to publish secrets, credentials, and system files in the generated site.
Quoted source text, attributed separately from HOL analysis.