CVE-2020-16846
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.585%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 1
Nuclei templates: 1
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | SaltStack Salt Shell Injection Vulnerability |
|---|---|
| Vendor / product | SaltStack / Salt |
| Date added | 2021-11-03 |
| Federal remediation due date | 2022-05-03 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-07 |
Timeline
- 2020-11-06Published by the CNA07:27 UTC
- 2021-11-03Added to the CISA KEV catalog362 days after publication
- 2022-05-24GitHub advisory published (GHSA-qr38-h96j-2j3w)564 days after publication
- 2025-02-07CISA SSVC decision recorded1554 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2020-16846: SaltStack <=3002 - Shell Injection
GitHub advisory GHSA-qr38-h96j-2j3w, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI salt | before 2015.8.13 | 2015.8.13 |
| PyPI salt | from 2016.11.0 before 2016.11.10 | 2016.11.10 |
| PyPI salt | from 2016.3.0 before 2016.3.8 | 2016.3.8 |
| PyPI salt | from 2017.5.0 before 2017.7.8 | 2017.7.8 |
| PyPI salt | from 2018.2.0 before 2018.3.5 | 2018.3.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| saltstack salt | before 2015.8.10fixed in 2015.8.10from 2015.8.11 before 2015.8.13fixed in 2015.8.13from 2016.11.7 before 2016.11.10fixed in 2016.11.10from 2016.11.0 before 2016.11.3fixed in 2016.11.3from 2016.11.4 before 2016.11.6fixed in 2016.11.6(+10 more) | 2015.8.102015.8.132016.11.102016.11.32016.11.6 |
| debian debian_linux | 10.0no fix listed9.0no fix listed | not listednot listed |
| fedoraproject fedora | 31no fix listed | not listed |
| opensuse leap | 15.1no fix listed | not listed |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/
- https://security.gentoo.org/glsa/202011-13
- https://www.debian.org/security/2021/dsa-4837
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html
- https://github.com/saltstack/salt/releases
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-16846'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-16846'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-16846'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-16846'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2020-16846'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).