CVE-2020-16846: Command injection in SaltStack Salt netapi SSH client
- Vendors
- Debian ProjectFedora ProjectOpensuseSaltstack
CVE-2020-16846 is a command injection vulnerability in the SaltStack Salt netapi SSH client. Crafted web requests to the Salt API can cause shell injection when the SSH client is enabled, potentially allowing arbitrary command execution. The affected-version description covers Salt through 3002; branch-specific fixed releases are available. Sysrv-hello has exploited this vulnerability in active attacks.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits shell injection and potentially arbitrary command execution through the Salt API. The vulnerability has been used by Sysrv-hello, a worm and cryptomining botnet, as a remote code execution exploit. The execution privilege level and precise confidentiality and availability impacts are not specified.
Mitigation
If you can’t patch tonight, do this now.
Until patched, disable the Salt API or netapi SSH client, or restrict their exposure to trusted systems.
Remediation
Patch, then assume compromise.
Upgrade to the fixed release for the deployed Salt branch: 2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5, 2019.2.6, 3000.4, 3001.2, or 3002.1, or a later fixed release in the respective branch.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-16846 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2020-16846?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-16846, the earliest disclosed Nov 3, 2020.
- Is there a patch for CVE-2020-16846?
- Upgrade to the fixed release for the deployed Salt branch: 2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5, 2019.2.6, 3000.4, 3001.2, or 3002.1, or a later fixed release in the respective branch.
- What products are affected by CVE-2020-16846?
- Saltstack Salt, Debian Project Debian Linux, Fedora Project Fedora, and Opensuse Leap.
- How severe is CVE-2020-16846?
- CVE-2020-16846 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.6% (100th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.