{"id":"EUVD-2021-1294","enisaUuid":"16b0dcb4-b77a-3795-8dea-78383a198623","description":"Hugo is a fast and Flexible Static Site Generator built in Go. Hugo depends on Go\u0027s `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.","datePublished":"Dec 21, 2020, 10:40:15 PM","dateUpdated":"Aug 4, 2024, 3:56:03 PM","baseScore":7.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","references":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq\nhttps://github.com/golang/go/issues/38736\n","aliases":"CVE-2020-26284\nGHSA-8j34-9876-pvfq\n","assigner":"GitHub_M","epss":1.47,"enisaIdProduct":[{"id":"f88337f3-fbe8-3278-acfc-09174ee4a836","product":{"name":"hugo","vendor":{"name":"gohugoio"}},"product_version":"\u003c 0.79.1"}],"enisaIdVendor":[{"id":"8617d053-e394-380b-8f64-1ec0561fbd28","vendor":{"name":"gohugoio"}}],"enisaIdVulnerability":[{"id":"c2ae6576-f8e4-3e90-9a92-aed01fec260b","vulnerability":{"id":"CVE-2020-26284","description":"Hugo is a fast and Flexible Static Site Generator built in Go. Hugo depends on Go\u0027s `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.","datePublished":"Dec 21, 2020, 10:40:15 PM","dateUpdated":"Aug 4, 2024, 3:56:03 PM","status":"PUBLISHED","baseScore":7.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","references":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq\nhttps://github.com/golang/go/issues/38736\n","enisa_id":"EUVD-2021-1294\n","assigner":"GitHub_M","epss":1.47,"dataProcessed":"Nov 18, 2026, 7:21:45 AM","vulnerabilityProduct":[{"id":"edb7958c-4310-3cb8-903e-93fd207783b8","product":{"name":"hugo","vendor":{"name":"gohugoio"}},"product_version":"\u003c 0.79.1"}],"vulnerabilityVendor":[{"id":"8c0ce7c7-253c-3b07-88a2-9d69a3244454","vendor":{"name":"gohugoio"}}]}},{"id":"e80f206c-5d2d-3c3d-a28c-809cc36a795d","vulnerability":{"id":"GHSA-8j34-9876-pvfq","description":"Hugo can execute a binary from the current directory on Windows","datePublished":"Jun 23, 2021, 5:28:26 PM","dateUpdated":"May 21, 2021, 6:15:45 PM","baseScore":null,"references":"https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-26284\nhttps://github.com/golang/go/issues/38736\n","enisa_id":"EUVD-2021-1294\n","aliases":"GHSA-8j34-9876-pvfq\nCVE-2020-26284\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:05:47 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}