{"id":"GHSA-8j34-9876-pvfq","revision":"6517f46cd7a44448b7344d319958f55e","records":[{"revision":"6517f46cd7a44448b7344d319958f55e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8j34-9876-pvfq","aliases":["CVE-2020-26284"],"title":"Hugo can execute a binary from the current directory on Windows","description":"## Impact\n\nHugo 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. However, 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.\n\nWindows users who run `hugo` inside untrusted Hugo sites are affected.\n\n## Patches\nUsers should upgrade to Hugo v0.79.1.","state":0,"publishedAt":"2021-06-23T17:28:26+00:00","modifiedAt":"2026-09-10T03:49:05.7026259+00:00","affected":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.79.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq","https://nvd.nist.gov/vuln/detail/CVE-2020-26284","https://github.com/golang/go/issues/38736"],"sourceUrl":"https://github.com/advisories/GHSA-8j34-9876-pvfq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8j34-9876-pvfq","identifiers":["GHSA-8j34-9876-pvfq","CVE-2020-26284"]},"retained":false,"historicalAffected":[]}],"coverage":[]}