patchminder
Proof of concept · GitHub CVE-2020-28243

Command injectionin the salt package.

Published 27 Feb 2021 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 4.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

An issue was discovered in SaltStack Salt before 3002.5. The minion's restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.

What to do now
  • Upgrade salt (PyPI) to 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
salt (PyPI)
before 2015.8.13
2015.8.13
GitHub advisory
salt (PyPI)
2016.3.0 to before 2016.11.5
2016.11.5
GitHub advisory
salt (PyPI)
2016.11.7 to before 2016.11.10
2016.11.10
GitHub advisory
salt (PyPI)
2017.5.0 to before 2017.7.8
2017.7.8
GitHub advisory
salt (PyPI)
2018.2.0 to 2018.3.5
Not confirmed
GitHub advisory
salt (PyPI)
2019.2.0 to before 2019.2.8
2019.2.8
GitHub advisory
salt (PyPI)
3000 to before 3000.7
3000.7
GitHub advisory
salt (PyPI)
3001 to before 3001.5
3001.5
GitHub advisory
salt (PyPI)
3002 to before 3002.3
3002.3
GitHub advisory
salt (PyPI)
before 2015.8.10
2015.8.10
GitHub advisory
salt (PyPI)
2015.8.11 to before 2015.8.13
2015.8.13
GitHub advisory
salt (PyPI)
2016.3.0 to before 2016.3.4
2016.3.4
GitHub advisory
salt (PyPI)
2016.3.5 to before 2016.3.6
2016.3.6
GitHub advisory
salt (PyPI)
2016.3.7 to before 2016.3.8
2016.3.8
GitHub advisory
salt (PyPI)
2016.11.0 to before 2016.11.3
2016.11.3
GitHub advisory
salt (PyPI)
2016.11.4 to before 2016.11.5
2016.11.5
GitHub advisory
salt (PyPI)
2017.7.0 to before 2017.7.8
2017.7.8
GitHub advisory
salt (PyPI)
2018.3.0rc1 to before 2019.2.0rc1
2019.2.0rc1
GitHub advisory
salt (PyPI)
2019.2.0 to before 2019.2.5
2019.2.5
GitHub advisory
salt (PyPI)
2019.2.6 to before 2019.2.8
2019.2.8
GitHub advisory
salt (PyPI)
3000 to before 3000.6
3000.6
GitHub advisory
salt (PyPI)
3001 to before 3001.4
3001.4
GitHub advisory
salt (PyPI)
3002 to before 3002.5
3002.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Nov 2020
    CVE ID reserved by mitre.
  2. 22 Dec 2020
    First public proof of concept on GitHub.
  3. 27 Feb 2021
    Published in the CVE List.
  4. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundstealthcopter/CVE-2020-2824320 stars · created 22 Dec 2020CVE-2020-28243 Local Privledge Escalation Exploit in SaltStack Minion

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2020-28243: Command injection in the salt package. https://patchminder.com/cve/cve-2020-28243/ (accessed 5 December 2026).