CVEFinder.io

CVE-2020-26284

⚠️ high
🔍 Scan for this CVE
Summary

Hugo 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

Description

Hugo 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.

CVSS Score
7.7
High
EPSS Score
0.4
Exploit Probability
Published Date
2020-12-21
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is Moderate Risk - more severe than 69.6% of all 329,778 vulnerabilities in our database.

#100,297
Above average severity
Severity Percentile
Last Modified 2024-11-21
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 2

https://github.com/golang/go/issues/38736
Exploit Patch Third Party Advisory

🔗 Related CVEs 2

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-44301 ⚠️ high 8.1 0.0 Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipel... 2026-05-12
CVE-2026-35166 🔶 medium 5.4 0.0 Hugo is a static site generator. From 0.60.0 to before 0.159.2, links and image links in the default markdown to HTML re... 2026-04-06
These CVEs affect the same products