Skip to main content
No exploitation reportedFix available

CVE-2020-26284

No exploitation reported by the sources we read.

  • Published2020-12-21
  • Fixed in0.79.1
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-12-2123:15CVE publishedNVD

Versions per branch

NVD · OSV
Gohugo hugo
BranchAffectedFixed in
0.79< 0.79.10.79.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • hugoWolfiall versions · fixed in 0
  • hugoDebian:14all versions · fixed in 0.79.1-1
  • hugoDebian:13all versions · fixed in 0.79.1-1
  • hugoDebian:12all versions · fixed in 0.79.1-1
  • hugoChainguardall versions · fixed in 0

Full record on NVD

Fix

  1. Update Gohugo hugo to 0.79.1

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.17.7known since 2026-10-23
  • NVDCVSS 3.18.5read 2026-10-23
  • NVDCVSS 2.08.5read 2026-10-23
  • CNAweakness (CWE)CWE-78known since 2026-10-23
  • NVDweakness (CWE)CWE-78read 2026-10-23
  • FIRST EPSSEPSS score1.5 %2026-11-09
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2021-05-21

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
2020-12-21
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-8j34-9876-pvfq

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.

Is CVE-2020-26284 actively exploited?

Active exploitation of CVE-2020-26284 has not been confirmed. Its EPSS score was 1.5% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-26284?

CVE-2020-26284 has a CVSS v3 base score of 8.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.

Running gohugoio/hugo? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record