{"schemaVersion":3,"id":"CVE-2020-26284","aliases":["DEBIAN-CVE-2020-26284","CGA-45m3-r8w5-3cg3","CGA-x7q8-p2jw-8wp7","GHSA-8j34-9876-pvfq"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-12-21T22:40:15.000Z","modified":"2024-08-04T15:56:03.976Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":3.3,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":8.5,"severity":"high","vector":"AV:N/AC:M/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01468,"percentile":0.73369,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01468},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01451,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01468,"percentile":0.73369}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01468,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01468,"percentile":0.73369}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GOLANG_GO","name":"Go","source":"github","url":"https://github.com/golang/go/issues/27016","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"chainguard","product":"hugo","name":"hugo","label":"hugo","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hugo","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"hugo","name":"hugo","label":"hugo","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/hugo","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"hugo","name":"hugo","label":"hugo","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/hugo","purlType":"deb","versions":[{"text":"< 0.79.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.79.1-1","eol":null,"hubHref":null},{"vendor":"gohugo","product":"hugo","name":"hugo","label":"hugo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.79.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.79.1","eol":null,"hubHref":"/vendor/gohugo/hugo"},{"vendor":"gohugoio","product":"hugo","name":"hugo","label":"hugo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.79.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.79.1","eol":null,"hubHref":"/vendor/gohugoio/hugo"},{"vendor":"github.com/gohugoio","product":"hugo","name":"github.com/gohugoio/hugo","label":"hugo","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/gohugoio/hugo","purlType":"golang","versions":[{"text":"< 0.79.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.79.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq","label":"github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq","hostname":"github.com","tags":["X Refsource CONFIRM","FIX","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/golang/go/issues/38736","label":"github.com/golang/go/issues/38736","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-26284","label":"security-tracker.debian.org/tracker/CVE-2020-26284","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26284","label":"nvd.nist.gov/vuln/detail/CVE-2020-26284","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2XM2-QWMG-9PWH","CGA-XQVJ-HQ58-XGH8"]},"timeline":[{"kind":"published","date":"2020-12-21T22:40:15.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:56:03.976Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":44,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:36:00.154Z","stale":false,"partial":false}}