# CVE-2020-16846: SaltStack Salt Command Injection in netapi ssh client

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2021-11-03. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 99.6%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-06T07:27:24.000Z
- Modified: 2026-06-17T02:58:07.953Z
- Also known as: GHSA-qr38-h96j-2j3w, PYSEC-2020-104
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- salt (PyPI): before 2015.8.13; from 2016.3.0 before 2016.3.8; from 2016.11.0 before 2016.11.10; from 2017.5.0 before 2017.7.8; from 2018.2.0 before 2018.3.5; from 2019.2.0 before 2019.2.6; from 3000.0 before 3000.4; from 3001 before 3001.2; from 3002 before 3002.1; before 2015.8.10; from 2015.8.11 before 2015.8.13; from 2016.3.0 before 2016.3.4; and 10 more
- saltstack salt: before 2015.8.10; from 2015.8.11 before 2015.8.13; from 2016.3.0 before 2016.3.4; from 2016.3.5 before 2016.3.6; from 2016.3.7 before 2016.3.8; from 2016.11.0 before 2016.11.3; from 2016.11.4 before 2016.11.6; from 2016.11.7 before 2016.11.10; from 2017.5.0 before 2017.7.4; from 2017.7.5 before 2017.7.8; from 2018.2.0 before 2018.3.5; from 2019.2.0 before 2019.2.5; and 3 more
- debian debian_linux: 9.0; 10.0
- fedoraproject fedora: 31
- opensuse leap: 15.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/saltstack/salt/releases> (release-notes, web)
- <https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/> (article, broken-link, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/> (release-notes, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202011-13> (advisory, third-party-advisory, vendor-advisory, web)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1381/> (advisory, third-party-advisory, vdb-entry)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1383/> (advisory, third-party-advisory, vdb-entry)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1380/> (advisory, third-party-advisory, vdb-entry)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1379/> (advisory, third-party-advisory, vdb-entry)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1382/> (advisory, third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2021/dsa-4837> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html> (mailing-list, third-party-advisory, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-16846> (advisory, kev)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1383> (web)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1382> (web)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1381> (web)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1380> (web)
- <https://www.zerodayinitiative.com/advisories/ZDI-20-1379> (web)
- <https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.1.rst#L12> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.2.rst#L10> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.4.rst#L10> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2019.2.6.rst#L10> (web)
- <https://github.com/saltstack/salt> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-104.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/> (web)
- <https://github.com/advisories/GHSA-qr38-h96j-2j3w> (advisory)

## Sources

- CVE List: [CVE-2020-16846](https://www.cve.org/CVERecord?id=CVE-2020-16846), CVE Terms of Use, modified 2025-10-21
- GitHub Advisory Database: [GHSA-qr38-h96j-2j3w](https://github.com/advisories/GHSA-qr38-h96j-2j3w), CC-BY-4.0, modified 2025-10-22
- NVD: [CVE-2020-16846](https://nvd.nist.gov/vuln/detail/CVE-2020-16846), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-104](https://osv.dev/vulnerability/PYSEC-2020-104), CC-BY-4.0, modified 2026-06-10
- CISA KEV: [CVE-2020-16846](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-16846), CC0-1.0, modified 2021-11-03

---

Page: https://cve.day/CVE-2020-16846 · Whole record: https://cve.day/CVE-2020-16846.json · Rebuilt by cve.day 2026-11-25T22:57:55.618Z
