# CVE-2020-16846: SaltStack Salt Shell Injection Vulnerability

- Priority: **Act now**
- Reason: Listed as exploited by CISA (03-11-2021)
- Next step: Check the vendor advisory
- Status: published
- Published: 2020-11-06 · Modified: 2026-12-03
- Aliases: GHSA-qr38-h96j-2j3w, PYSEC-2020-104, UBUNTU-CVE-2020-16846, USN-7181-1, ALPINE-CVE-2020-16846
- Record: https://cvemate.com/vulnerability/CVE-2020-16846 · JSON: https://cvemate.com/vulnerability/CVE-2020-16846/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 99.585%, percentile 99.945%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2021-11-03, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference, metasploit)

## Affected

- alpine salt (Alpine Linux): ≥ 2015.8.11, \< 3002-r1 \| ≥ 3000.0, \< 3002-r1
- ubuntu salt (Ubuntu): \< 0.17.5+ds-1ubuntu0.1~esm4 \| \< 2015.8.8+ds-1ubuntu0.1+esm2 \| \< 2017.7.4+dfsg1-1ubuntu18.04.2+esm1
- debian debian\_linux: 9.0 \| 10.0
- fedoraproject fedora: 31
- opensuse leap: 15.1
- PyPI salt (PyPI): \< 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
- saltstack salt: \< 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

## References (first 20 of 38)

- <https://github.com/saltstack/salt/releases>
- <https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/>
- <http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html>
- <https://security.gentoo.org/glsa/202011-13>
- <http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1381/>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1383/>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1380/>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1379/>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1382/>
- <https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html>
- <https://www.debian.org/security/2021/dsa-4837>
- <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://nvd.nist.gov/vuln/detail/CVE-2020-16846>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1383>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1382>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1381>
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1380>

---

Data as of 2026-12-05T02:36:20.244Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
