8.5

CVE-2020-26284: gohugo hugo OS Command Injection

CVSS: 8.5v3.1HighModified
AliasesDEBIAN-CVE-2020-26284CGA-45m3-r8w5-3cg3CGA-x7q8-p2jw-8wp7
Published 21-12-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-26284 is a high (CVSS 8.5) OS Command Injection vulnerability in gohugo hugo. EPSS estimates a 1.47% chance of exploitation in the next 30 days, higher than 73.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
44/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.5/10
010
High · v3.1 (NVD)
EPSS score
1.47%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 21-12-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

1.47%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

0.00 pp

From 1.47% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.47%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Go

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • hugoAll versions (No fix recorded)
Debian1 product
  • hugo< 0.79.1-1
Github.com/gohugoio1 product
  • hugo< 0.79.1
Gohugo1 product
Gohugoio1 product
Wolfi1 product
  • hugoAll versions (No fix recorded)

6 vendors · 6 products

References

4 links