CVE-2020-16846: SaltStack Salt Shell Injection Vulnerability
Vulnerability summary
CVE-2020-16846 is a critical (CVSS 9.8) OS Command Injection vulnerability in SaltStack Salt. It is known to be exploited: CISA lists it, first on 03-11-2021. EPSS estimates a 99.59% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 14 · Related 12Timeline
- 06-11-2020PublishedVulnerability first disclosed.
- 03-11-2021Added to CISA KEVSaltStack Salt Shell Injection Vulnerability
- 03-05-2022CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
Description
An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
99.59%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 99.59% on 19-09-2026
Known exploited
Compare KEV catalogs- Added
- 03-11-2021
- Federal due date
- 03-05-2022
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2020-16846
Public exploits
2 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
SaltStack Salt REST API Arbitrary Command Execution
exploit/linux/http/saltstack_salt_api_cmd_exec
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Debian1 product
- debian_linuxEOL9.0 | 10.0
Fedoraproject1 product
- fedoraEOL31
Opensuse1 product
- leapEOL15.1
PyPI1 product
- salt< 2015.8.13 | ≥ 2016.3.0, < 2016.3.8 | ≥ 2016.11.0, < 2016.11.10 | ≥ 2017.5.0, < 2017.7.8 | ≥ 2018.2.0, < 2018.3.5 | ≥ 2019.2.0, < 2019.2.6 | ≥ 3000.0, < 3000.4 | ≥ 3001, < 3001.2 | ≥ 3002, < 3002.1 | ≥ 3000, < 3000.3
Saltstack1 product
- saltEOL< 2015.8.10 | ≥ 2015.8.11, < 2015.8.13 | ≥ 2016.3.0, < 2016.3.4 | ≥ 2016.3.5, < 2016.3.6 | ≥ 2016.3.7, < 2016.3.8 | ≥ 2016.11.0, < 2016.11.3 | ≥ 2016.11.4, < 2016.11.6 | ≥ 2016.11.7, < 2016.11.10 | ≥ 2017.5.0, < 2017.7.4 | ≥ 2017.7.5, < 2017.7.8 | ≥ 2018.2.0, < 2018.3.5 | ≥ 2019.2.0, < 2019.2.5 | ≥ 3000.0, < 3000.3 | 3001 | 3002
Ubuntu1 product
- salt< 2015.8.8+ds-1ubuntu0.1+esm2 | < 2017.7.4+dfsg1-1ubuntu18.04.2+esm1 | < 0.17.5+ds-1ubuntu0.1~esm4
6 vendors · 6 products
References
37 links- www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/X Refsource CONFIRMARTICLEREPORTBroken LinkVendor Advisory
- lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.htmlVendor AdvisoryX Refsource SUSEWEBMailing ListThird Party Advisory
- packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.htmlX Refsource MISCWEBExploitThird Party AdvisoryVDB Entry
- www.zerodayinitiative.com/advisories/ZDI-20-1381/X Refsource MISCAdvisoryThird Party AdvisoryVDB Entry
- www.zerodayinitiative.com/advisories/ZDI-20-1383/X Refsource MISCAdvisoryThird Party AdvisoryVDB Entry
- www.zerodayinitiative.com/advisories/ZDI-20-1380/X Refsource MISCAdvisoryThird Party AdvisoryVDB Entry
- www.zerodayinitiative.com/advisories/ZDI-20-1379/X Refsource MISCAdvisoryThird Party AdvisoryVDB Entry
Show all 37 references
- www.zerodayinitiative.com/advisories/ZDI-20-1382/X Refsource MISCAdvisoryThird Party AdvisoryVDB Entry
- lists.debian.org/debian-lts-announce/2020/12/msg00007.htmlMailing ListX Refsource MLISTWEBThird Party Advisory
- www.debian.org/security/2021/dsa-4837Vendor AdvisoryX Refsource DEBIANWEBAdvisoryMailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/01/msg00000.htmlMailing ListX Refsource MLISTWEBThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846Government ResourceWEBUS Government Resource
- github.com/saltstack/saltPACKAGE