Home / Saltstack / Salt / CVE-2020-16846
CVE-2020-16846: is it exploited, and which versions of Saltstack Salt are affected and fixed?
CVE-2020-16846 is an OS command injection vulnerability in Saltstack Salt, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: salt before 2015.8.13, salt from 2016.3.0 before 2016.3.8, salt from 2016.11.0 before 2016.11.10 and 6 more (GitHub advisory GHSA-qr38-h96j-2j3w). Fixed in 2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8 and 2 more (GitHub advisory GHSA-qr38-h96j-2j3w). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record December 3, 2026, 05:08 UTC and NVD December 3, 2026, 06:13 UTC.
What is CVE-2020-16846?
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.
From the CVE record by mitre, last updated December 3, 2026, 04:56 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | salt | < 2015.8.13 | 2015.8.13 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 2016.3.0, < 2016.3.8 | 2016.3.8 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 2016.11.0, < 2016.11.10 | 2016.11.10 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 2017.5.0, < 2017.7.8 | 2017.7.8 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 2018.2.0, < 2018.3.5 | 2018.3.5 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 2019.2.0, < 2019.2.6 | 2019.2.6 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 3000.0, < 3000.4 | 3000.4 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 3001, < 3001.2 | 3001.2 | GHSA-qr38-h96j-2j3w |
| PyPI | salt | >= 3002, < 3002.1 | 3002.1 | GHSA-qr38-h96j-2j3w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: SaltStack Salt Command Injection in netapi ssh client.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| saltstack | salt | before 2015.8.10 | application |
| saltstack | salt | from 2015.8.11 before 2015.8.13 | application |
| saltstack | salt | from 2016.3.0 before 2016.3.4 | application |
| saltstack | salt | from 2016.3.5 before 2016.3.6 | application |
| saltstack | salt | from 2016.3.7 before 2016.3.8 | application |
| saltstack | salt | from 2016.11.0 before 2016.11.3 | application |
| saltstack | salt | from 2016.11.4 before 2016.11.6 | application |
| saltstack | salt | from 2016.11.7 before 2016.11.10 | application |
| saltstack | salt | from 2017.5.0 before 2017.7.4 | application |
| saltstack | salt | from 2017.7.5 before 2017.7.8 | application |
| saltstack | salt | from 2018.2.0 before 2018.3.5 | application |
| saltstack | salt | from 2019.2.0 before 2019.2.5 | application |
| saltstack | salt | from 3000.0 before 3000.3 | application |
| saltstack | salt | 3001 | application |
| saltstack | salt | 3002 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| fedoraproject | fedora | 31 | operating system |
| opensuse | leap | 15.1 | operating system |
NVD analysis (status Analyzed), last modified December 3, 2026, 05:19 UTC.
How severe is CVE-2020-16846?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-16846 exploited in the wild?
- CISA KEV
- Listed as SaltStack Salt Shell Injection Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- SaltStack Salt allows an unauthenticated user with network access to the Salt API to use shell injections to run code on the Salt API using the SSH client. This vulnerability affects any users running the Salt API.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, December 2, 2026)
- EPSS
- 99.6% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/saltstack/salt/releases x_refsource_MISC
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/ x_refsource_CONFIRM
- FEDORA-2020-9e040bd6dd vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2020:1868 vendor-advisory, x_refsource_SUSE
- GLSA-202011-13 vendor-advisory, x_refsource_GENTOO
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381/ x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383/ x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380/ x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379/ x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382/ x_refsource_MISC
- [debian-lts-announce] 20201204 [SECURITY] [DLA 2480-1] salt security update mailing-list, x_refsource_MLIST
- DSA-4837 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20220103 [SECURITY] [DLA 2480-2] salt regression update mailing-list, x_refsource_MLIST
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846 government-resource
When was it published, and where is the official record?
- Reserved
- August 4, 2020
- Published
- November 6, 2020, 07:27 UTC
- CVE record updated
- December 3, 2026, 04:56 UTC by mitre
- NVD
- Analyzed, last modified December 3, 2026, 05:19 UTC
- Last checked
- CVE list December 3, 2026, 05:08 UTC; NVD December 3, 2026, 06:13 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Salt?
- Apr 30, 2020CVE-2020-11652 Saltstack Salt: path traversal (reading or writing files outside the intended folder) exploited
- Apr 30, 2020CVE-2020-11651 Saltstack Salt: improper input validation exploited
- Feb 17, 2023CVE-2021-33226 Saltstack Salt: buffer overflow disputed
- Apr 23, 2021CVE-2021-31607 Saltstack Salt: OS command injection
- Feb 27, 2021CVE-2021-25284 Saltstack Salt: credentials insufficiently protected
- Feb 27, 2021CVE-2021-25283 Saltstack Salt: code injection (remote code execution)
- Feb 27, 2021CVE-2021-25282 Saltstack Salt: path traversal (reading or writing files outside the intended folder)
- Feb 27, 2021CVE-2021-25281 Saltstack Salt: authentication bypass (improper authentication)
Questions about CVE-2020-16846
Is CVE-2020-16846 exploited in the wild?
Yes. CISA added CVE-2020-16846 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. FIRST's EPSS gives it a 99.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Saltstack Salt are affected by CVE-2020-16846?
salt before 2015.8.13, salt from 2016.3.0 before 2016.3.8, salt from 2016.11.0 before 2016.11.10, salt from 2017.5.0 before 2017.7.8, salt from 2018.2.0 before 2018.3.5, salt from 2019.2.0 before 2019.2.6 and 3 more, per the GitHub advisory GHSA-qr38-h96j-2j3w. The tables above give every range the sources list.
Which version fixes CVE-2020-16846?
2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5 and 2019.2.6, per the GitHub advisory GHSA-qr38-h96j-2j3w. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-16846?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2020-16846?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.