CVE-2026-140395: gohugoio hugo · Path Traversal
Affects gohugoio hugoSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 0.170.0 soon.
Data as of 1 Dec 2026, 14:59 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 0.170.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade gohugoio hugo to 0.170.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gohugoiohugo | Affected
| Fixed in
|
Gohugopkg:golang/hugoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Hugo to version 0.170.0 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
Description
Hugo versions from 0.56.0 up to but not including 0.170.0 contain a path traversal vulnerability. This flaw allows malicious themes or modules to read arbitrary files on the build host by using '..' segments in _vendor/modules.txt import paths. Exploitation can lead to exposure of sensitive files such as secrets, credentials, and system files in the generated site.