CVE-2026-140395 in gohugoio hugo
Exploitation of this CVE does not show up in logs, so there is no detection rule for it.
What the vulnerability is
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.
Affected software: gohugoio hugo
Scores
- CVSS: 8.7 (high)
- EPSS: 0.78% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2026-12-01
What LogPulse has for it
- Detection rule: No
- Agent check (vulnerable version): No
- Mitigation: No
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.