CVE-2020-16846: SaltStack Salt Shell Injection Vulnerability
CVE-2020-16846 is a critical-severity flaw (CVSS 9.8) affecting salt, debian linux, fedora, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.6% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-03 |
| Weakness | CWE-78 |
| Published | 2020-11-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: zomy22/CVE-2020-16846-Saltstack-Salt-API (0 stars)
- GitHub PoC: hamza-boudouche/projet-secu (0 stars)
- Write-up: github.com/saltstack/salt/releases
- Metasploit: SaltStack Salt REST API Arbitrary Command Execution
- Nuclei scan template: SaltStack <=3002 - Shell Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-16846?
salt: upgrade to 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.6, 2016.11.10, 2017.7.4, 2017.7.8, 2018.3.5, 2019.2.5, 3000.3; debian linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-16846 being exploited?
Yes. CVE-2020-16846 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2020-16846 affect?
CVE-2020-16846 affects salt, debian linux, fedora. Severity is critical (CVSS 9.8). 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.
How urgent is CVE-2020-16846?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2024-38824 CRITICAL 9.6 UPGRADE Directory traversal vulnerability in recv_file method allows arbitrary files to be written to the master cache
- CVE-2023-20898 MEDIUM 4.2 UPGRADE Git Providers can read from the wrong environment because they get the same cache directory base name in Salt
- CVE-2023-20897 MEDIUM 5.3 UPGRADE Salt masters prior to 3005.2 or 3006.2 contain a DOS in minion return
- CVE-2022-22967 HIGH 8.8 UPGRADE An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2
- CVE-2022-22941 HIGH 8.8 UPGRADE An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1