CVE-2020-26284High· 7.7▾ TwilightHugo can execute a binary from the current directory on Windows
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 42.4 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.5%
1.5% → 1.5%
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. 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.
Windows users who run hugo inside untrusted Hugo sites are affected.
Users should upgrade to Hugo v0.79.1.
github.com/gohugoio/hugo < 0.79.1Upgrade to a patched release:
github.com/gohugoio/hugo 0.79.1Connected by shared product, vendor, weakness, or advisory.
CVE-2026-44301MediumHugo's Node tool execution allows file system access outside the project directory
CVE-2026-58404HighHugo: security.http.urls deny rules bypassed by alternate IPv4 encodings (SSRF)
CVE-2026-58402MediumHugo: XSS via unescaped code-fence language in default code block renderer
CVE-2026-35166MediumHugo: Certain markdown links are not properly escaped
CVE-2026-58403MediumHugo: Symlink confinement bypass in os.ReadFile
CVE-2026-50133MediumHugo: XSS via text/html content files