CVE-2020-26284
CVE-2020-26284 is a high-severity vulnerability in Gohugo Hugo with a CVSS 3.x base score of 7.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-78.
Key facts
- Severity: High (CVSS 3.x base score 7.7)
- CVSS v2: 8.5
- EPSS exploit prediction: 1% (73rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-78
- Affected product: Gohugo Hugo
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-26284?
- 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.
- How severe is CVE-2020-26284?
- CVE-2020-26284 has a CVSS 3.x base score of 7.7, rated high severity. It is exploitable over network with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2020-26284 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (73rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-26284?
- CVE-2020-26284 affects Gohugo Hugo. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2020-26284?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-26284 published?
- CVE-2020-26284 was published on 2020-12-21 and last updated on 2026-06-17.
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq
- https://github.com/golang/go/issues/38736
Affected products (1)
- cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:*
More vulnerabilities in Gohugo Hugo
- CVE-2026-75926 — High (CVSS 8.6): Hugo 0.161.0 placed the Node asset pipelines behind the Node.js permission model so that code running through PostCSS,…
- CVE-2026-100693 — High (CVSS 8.4): Hugo versions from v0.162.0 before v0.166.0 contain a case-sensitive validation flaw in the security.http.urls…
- CVE-2026-44301 — High (CVSS 8.1): Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset…
- CVE-2026-100692 — High (CVSS 7.5): Hugo is a static site generator. In versions after v0.123.0 and before v0.166.0, Hugo's symlink confinement checks…
- CVE-2026-100690 — High (CVSS 7.5): Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the…
- CVE-2026-58404 — Medium (CVSS 6.8): Hugo is a static site generator. From v0.162.0 through v0.163.0, the default security.http.urls policy denies requests…
All CVEs affecting Gohugo Hugo →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-100382 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Wikimedia…
- CVE-2026-77521 — Critical (CVSS 10.0): MaxKB is an open-source AI assistant for enterprise. Prior to version 2.10.5-lts, assistants with a tool, MCP tool,…
- CVE-2026-82004 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS…
- CVE-2026-76197 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS…
- CVE-2026-76195 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS…
- CVE-2026-19188 — Critical (CVSS 10.0): A critical OS command injection vulnerability has been identified in the Haiwell IoT Cloud HMI Gateway product. The…