{"api_version":"1","generated_at":"2026-05-09T08:46:58+00:00","cve":"CVE-2020-26284","urls":{"html":"https://cve.report/CVE-2020-26284","api":"https://cve.report/api/cve/CVE-2020-26284.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26284","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26284"},"summary":{"title":"CVE-2020-26284","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-12-21 23:15:00","updated_at":"2020-12-23 19:34:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq","name":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Hugo can execute a binary from the current directory on Windows · Advisory · gohugoio/hugo · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/golang/go/issues/38736","name":"https://github.com/golang/go/issues/38736","refsource":"MISC","tags":["Exploit","Patch","Third Party Advisory"],"title":"proposal: os/exec: make LookPath not look in dot implicitly on Windows · Issue #38736 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26284","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26284","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"26284","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gohugo","cpe5":"hugo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"windows","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26284","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gohugo","cpe5":"hugo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"windows","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-26284","qid":"982069","title":"Go (go) Security Update for github.com/gohugoio/hugo (GHSA-8j34-9876-pvfq)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26284","STATE":"PUBLIC","TITLE":"Hugo can execute a binary from the current directory on Windows"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"hugo","version":{"version_data":[{"version_value":"< 0.79.1"}]}}]},"vendor_name":"gohugoio"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq","refsource":"CONFIRM","url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq"},{"name":"https://github.com/golang/go/issues/38736","refsource":"MISC","url":"https://github.com/golang/go/issues/38736"}]},"source":{"advisory":"GHSA-8j34-9876-pvfq","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-12-21 23:15:00","lastModifiedDate":"2020-12-23 19:34:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":8.5},"severity":"HIGH","exploitabilityScore":6.8,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:*","versionEndExcluding":"0.79.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"26284","Ordinal":"187706","Title":"CVE-2020-26284","CVE":"CVE-2020-26284","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"26284","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"26284","Ordinal":"2","NoteData":"2020-12-21","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"26284","Ordinal":"3","NoteData":"2020-12-21","Type":"Other","Title":"Modified"}]}}}