CVE-2020-16846
CONFIRMED EXPLOITEDSaltStack Salt Shell Injection Vulnerability
Is SaltStack Salt affected by CVE-2020-16846?
SaltStack Salt is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2020-16846, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (19 vulnerable CPE entries): debian debian_linux, fedoraproject fedora, opensuse leap and saltstack salt.
Published CPE version bounds mark releases below 3000.3 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-05-03.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2020-11652Same productSaltStack Salt
SaltStack Salt Path Traversal Vulnerability
- CVE-2020-11651Same productSaltStack Salt
SaltStack Salt Authentication Bypass Vulnerability
- CVE-2026-133323Shared weaknessMitel MiCollab
Mitel MiCollab OS Command Injection Vulnerability
- CVE-2026-103406Shared weaknessHewlett Packard Enterprise (HPE) Juniper Session Smart Conductor and Session Smart Router
Hewlett Packard Enterprise (HPE) Juniper Session Smart Conductor and Session Smart Router OS Command Injection Vulnerability
- CVE-2020-16017Neighboring entryGoogle Chrome
Google Chrome Use-After-Free Vulnerability
- CVE-2020-17087Neighboring entryMicrosoft Windows
Microsoft Windows Kernel Privilege Escalation Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Salt has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- SSH daemon surface (SaltStack Salt): inspect SSH authentication and session logs (`/var/log/auth.log`, `/var/log/secure`, `journalctl -u sshd`) alongside network metadata (`Zeek ssh.log`, `conn.log`, Suricata SSH signatures) for repeated pre-auth handshakes, unexpected authentication status returns, or anomalous session establishment on TCP :22.
- Audit SSH exposure (`ss -tulpn`) and enforce connection throttling (`MaxStartups`, `PerSourceMaxStartups`), key-based authentication, or private WireGuard tunnel access.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running SaltStack Salt and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.htmlMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://github.com/saltstack/salt/releasesRelease Notes
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/Release Notes
- https://security.gentoo.org/glsa/202011-13Third Party Advisory
- https://www.debian.org/security/2021/dsa-4837Mailing ListThird Party Advisory
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/Broken LinkVendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379/Third Party AdvisoryVDB Entry
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380/Third Party AdvisoryVDB Entry
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381/Third Party AdvisoryVDB Entry
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382/Third Party AdvisoryVDB Entry
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383/Third Party AdvisoryVDB Entry
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.htmlMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://github.com/saltstack/salt/releasesRelease Notes
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/Release Notes
- https://security.gentoo.org/glsa/202011-13Third Party Advisory
- https://www.debian.org/security/2021/dsa-4837Mailing ListThird Party Advisory
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/Broken LinkVendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379/Third Party AdvisoryVDB Entry
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380/Third Party AdvisoryVDB Entry
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
Endpoint visibility, digital forensics, and incident response (DFIR) platform