{"id":"CVE-2020-16846","aliases":["CVE-2020-16846","GHSA-qr38-h96j-2j3w","PYSEC-2020-104"],"related":[],"kind":"vulnerability","state":"published","title":"SaltStack Salt Command Injection in netapi ssh client","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en SaltStack Salt versiones hasta 3002. El envío de peticiones web diseñadas a la Salt API, con el cliente SSH habilitado, puede resultar en una inyección shell","source":"nvd"},{"lang":"en","text":"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.","source":"kev"}],"published":"2020-11-06T07:27:24.000Z","modified":"2026-06-17T02:58:07.953Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2015.8.13"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2016.3.0","status":"affected","fixed":"2016.3.8"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2016.11.0","status":"affected","fixed":"2016.11.10"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2017.5.0","status":"affected","fixed":"2017.7.8"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2018.2.0","status":"affected","fixed":"2018.3.5"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2019.2.0","status":"affected","fixed":"2019.2.6"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3000.0","status":"affected","fixed":"3000.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3001","status":"affected","fixed":"3001.2"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3002","status":"affected","fixed":"3002.1"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2015.8.10"},{"status":"affected","introduced":"2015.8.11","fixed":"2015.8.13"},{"status":"affected","introduced":"2016.3.0","fixed":"2016.3.4"},{"status":"affected","introduced":"2016.3.5","fixed":"2016.3.6"},{"status":"affected","introduced":"2016.3.7","fixed":"2016.3.8"},{"status":"affected","introduced":"2016.11.0","fixed":"2016.11.3"},{"status":"affected","introduced":"2016.11.4","fixed":"2016.11.6"},{"status":"affected","introduced":"2016.11.7","fixed":"2016.11.10"},{"status":"affected","introduced":"2017.5.0","fixed":"2017.7.4"},{"status":"affected","introduced":"2017.7.5","fixed":"2017.7.8"},{"status":"affected","introduced":"2018.2.0","fixed":"2018.3.5"},{"status":"affected","introduced":"2019.2.0","fixed":"2019.2.5"},{"status":"affected","introduced":"3000.0","fixed":"3000.3"},{"status":"affected","version":"3001"},{"status":"affected","version":"3002"}],"vendor":"saltstack","product":"salt","cpe":"cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"31"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2015.8.10"},{"type":"ecosystem","introduced":"2015.8.11","status":"affected","fixed":"2015.8.13"},{"type":"ecosystem","introduced":"2016.3.0","status":"affected","fixed":"2016.3.4"},{"type":"ecosystem","introduced":"2016.3.5","status":"affected","fixed":"2016.3.6"},{"type":"ecosystem","introduced":"2016.3.7","status":"affected","fixed":"2016.3.8"},{"type":"ecosystem","introduced":"2016.11.0","status":"affected","fixed":"2016.11.3"},{"type":"ecosystem","introduced":"2016.11.4","status":"affected","fixed":"2016.11.6"},{"type":"ecosystem","introduced":"2016.11.7","status":"affected","fixed":"2016.11.10"},{"type":"ecosystem","introduced":"2017.7.0","status":"affected","fixed":"2017.7.4"},{"type":"ecosystem","introduced":"2017.7.5","status":"affected","fixed":"2017.7.8"},{"type":"ecosystem","introduced":"2018.3.0rc1","status":"affected","fixed":"2018.3.5"},{"type":"ecosystem","introduced":"2019.2.0","status":"affected","fixed":"2019.2.5"},{"type":"ecosystem","introduced":"3000","status":"affected","fixed":"3000.3"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"pysec"},{"ranges":[],"vendor":"SaltStack","product":"Salt","source":"kev"}],"references":[{"url":"https://github.com/saltstack/salt/releases","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/","tags":["article","broken-link","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/","tags":["release-notes","vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.gentoo.org/glsa/202011-13","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1381/","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1383/","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1380/","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1379/","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1382/","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.debian.org/security/2021/dsa-4837","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846","tags":["government-resource","us-government-resource","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-16846","tags":["advisory","kev"],"sources":["ghsa","kev"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1383","tags":["web"],"sources":["ghsa"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1382","tags":["web"],"sources":["ghsa"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1381","tags":["web"],"sources":["ghsa"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1380","tags":["web"],"sources":["ghsa"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-20-1379","tags":["web"],"sources":["ghsa"]},{"url":"https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.1.rst#L12","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.2.rst#L10","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.4.rst#L10","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2019.2.6.rst#L10","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-104.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/","tags":["web"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-qr38-h96j-2j3w","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","name":"SaltStack Salt Shell Injection Vulnerability","requiredAction":"Apply updates per vendor instructions.","ransomware":false,"notes":"https://nvd.nist.gov/vuln/detail/CVE-2020-16846"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"total","date":"2025-02-07T13:49:59.119Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-16846","url":"https://www.cve.org/CVERecord?id=CVE-2020-16846","licence":"CVE Terms of Use","modified":"2025-10-21T23:35:33.124Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qr38-h96j-2j3w","url":"https://github.com/advisories/GHSA-qr38-h96j-2j3w","licence":"CC-BY-4.0","modified":"2025-10-22T19:38:23.802Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-16846","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-16846","licence":"Public domain","modified":"2026-06-17T02:58:07.953Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-104","url":"https://osv.dev/vulnerability/PYSEC-2020-104","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:38.389Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2020-16846","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-16846","licence":"CC0-1.0","modified":"2021-11-03T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:57:55.618Z","epss":{"score":0.99585,"percentile":0.99945,"date":"2026-12-01T12:00:22.000Z"}}