Hugo is a fast and Flexible Static Site Generator built in Go. Hugo depends on Go's `os/exec` for certain…
Historical advisory recorded 24 Oct 2026 16:17:32 UTC. Read the latest advisory.
nvd · CVE-2020-26284
PublishedHugo is a fast and Flexible Static Site Generator built in Go. Hugo depends on Go's `os/exec` for certain features, e.g. for rendering of Pandoc documents if these binaries are found in the system `%PATH%` on Windows. In Hugo before version 0.79.1, if a malicious file with the same name (`exe` or `bat`) is found in the current working directory at the time of running `hugo`, the malicious command will be invoked instead of the system one. Windows users who run `hugo` inside untrusted Hugo sites are affected. Users should upgrade to Hugo v0.79.1. Other than avoiding untrusted Hugo sites, there is no workaround.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2020-26284
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-78
Original publisher date fields
published: 2020-12-21T23:15:12.157
lastModified: 2026-06-17T03:07:59.843
1 source CPE criteria · context only
- cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON