{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-16846","id":"CVE-2020-16846","title":"SaltStack Salt Command Injection in netapi ssh client","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.","descriptionLong":"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.","published":"2020-11-06T07:27:24.000Z","updated":"2026-10-20T10:52:00.124453209Z","reserved":"2020-08-04T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"salt","purl":"pkg:pypi/salt","ranges":["<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","<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.7.0 <2017.7.4",">=2017.7.5 <2017.7.8",">=2018.3.0rc1 <2018.3.5",">=2019.2.0 <2019.2.5",">=3000 <3000.3"],"fixed":["2015.8.13","2016.3.8","2016.11.10","2017.7.8","2018.3.5","2019.2.6","3000.4","3001.2","3002.1","2015.8.10","2016.3.4","2016.3.6","2016.11.3","2016.11.6","2017.7.4","2019.2.5","3000.3"],"advisory":"GHSA-qr38-h96j-2j3w"}],"cwes":["CWE-78"],"aliases":["GHSA-qr38-h96j-2j3w","PYSEC-2020-104"],"references":[{"url":"https://github.com/saltstack/salt/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory","web"]},{"url":"https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","Vendor Advisory","advisory","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Release Notes","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202011-13","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1381/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1383/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1380/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1379/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1382/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2021/dsa-4837","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-16846","tags":["advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1383","tags":["web"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1382","tags":["web"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1381","tags":["web"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1380","tags":["web"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1379","tags":["web"]},{"url":"https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA","tags":["web"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.1.rst#L12","tags":["web"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.2.rst#L10","tags":["web"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.4.rst#L10","tags":["web"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2019.2.6.rst#L10","tags":["web"]},{"url":"https://github.com/saltstack/salt","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-104.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qr38-h96j-2j3w","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2021-11-03","kevDue":"2022-05-03","kevEntry":{"cveID":"CVE-2020-16846","vendorProject":"SaltStack","product":"Salt","vulnerabilityName":"SaltStack Salt Shell Injection Vulnerability","dateAdded":"2021-11-03","shortDescription":"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.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2020-16846","cwes":["CWE-78"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.99585,"epssPercentile":0.99947,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-16846","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-16846","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-16846","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qr38-h96j-2j3w","ok":true,"note":"GHSA-qr38-h96j-2j3w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2021-11-03"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-16846","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 100% with CVSS 9.8"],"attention":null}