CVEBrief

Home / Saltstack / Salt / CVE-2020-16846

CVE-2020-16846: is it exploited, and which versions of Saltstack Salt are affected and fixed?

CVE-2020-16846 is an OS command injection vulnerability in Saltstack Salt, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: salt before 2015.8.13, salt from 2016.3.0 before 2016.3.8, salt from 2016.11.0 before 2016.11.10 and 6 more (GitHub advisory GHSA-qr38-h96j-2j3w). Fixed in 2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8 and 2 more (GitHub advisory GHSA-qr38-h96j-2j3w). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record December 3, 2026, 05:08 UTC and NVD December 3, 2026, 06:13 UTC.

Exploited in the wild
Yes, CISA KEV
added November 3, 2021, due May 3, 2022
Affected
salt before 2015.8.13, salt from 2016.3.0 before 2016.3.8, salt from 2016.11.0 before 2016.11.10 and 6 more
GitHub advisory GHSA-qr38-h96j-2j3w
Fixed in
2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8 and 2 more
GitHub advisory GHSA-qr38-h96j-2j3w
Severity
Critical 9.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
99.6% in 30 days
higher than 100% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2020-16846?

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.

From the CVE record by mitre, last updated December 3, 2026, 04:56 UTC.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIsalt< 2015.8.132015.8.13GHSA-qr38-h96j-2j3w
PyPIsalt>= 2016.3.0, < 2016.3.82016.3.8GHSA-qr38-h96j-2j3w
PyPIsalt>= 2016.11.0, < 2016.11.102016.11.10GHSA-qr38-h96j-2j3w
PyPIsalt>= 2017.5.0, < 2017.7.82017.7.8GHSA-qr38-h96j-2j3w
PyPIsalt>= 2018.2.0, < 2018.3.52018.3.5GHSA-qr38-h96j-2j3w
PyPIsalt>= 2019.2.0, < 2019.2.62019.2.6GHSA-qr38-h96j-2j3w
PyPIsalt>= 3000.0, < 3000.43000.4GHSA-qr38-h96j-2j3w
PyPIsalt>= 3001, < 3001.23001.2GHSA-qr38-h96j-2j3w
PyPIsalt>= 3002, < 3002.13002.1GHSA-qr38-h96j-2j3w

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: SaltStack Salt Command Injection in netapi ssh client.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
saltstacksaltbefore 2015.8.10application
saltstacksaltfrom 2015.8.11 before 2015.8.13application
saltstacksaltfrom 2016.3.0 before 2016.3.4application
saltstacksaltfrom 2016.3.5 before 2016.3.6application
saltstacksaltfrom 2016.3.7 before 2016.3.8application
saltstacksaltfrom 2016.11.0 before 2016.11.3application
saltstacksaltfrom 2016.11.4 before 2016.11.6application
saltstacksaltfrom 2016.11.7 before 2016.11.10application
saltstacksaltfrom 2017.5.0 before 2017.7.4application
saltstacksaltfrom 2017.7.5 before 2017.7.8application
saltstacksaltfrom 2018.2.0 before 2018.3.5application
saltstacksaltfrom 2019.2.0 before 2019.2.5application
saltstacksaltfrom 3000.0 before 3000.3application
saltstacksalt3001application
saltstacksalt3002application
debiandebian linux9.0operating system
debiandebian linux10.0operating system
fedoraprojectfedora31operating system
opensuseleap15.1operating system

NVD analysis (status Analyzed), last modified December 3, 2026, 05:19 UTC.

How severe is CVE-2020-16846?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2020-16846 exploited in the wild?

CISA KEV
Listed as SaltStack Salt Shell Injection Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
Required action
Apply updates per vendor instructions.
Ransomware use
Unknown
CISA's summary
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.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, December 2, 2026)
EPSS
99.6% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 4, 2020
Published
November 6, 2020, 07:27 UTC
CVE record updated
December 3, 2026, 04:56 UTC by mitre
NVD
Analyzed, last modified December 3, 2026, 05:19 UTC
Last checked
CVE list December 3, 2026, 05:08 UTC; NVD December 3, 2026, 06:13 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect Salt?

Every CVE in Salt

Questions about CVE-2020-16846

Is CVE-2020-16846 exploited in the wild?

Yes. CISA added CVE-2020-16846 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. FIRST's EPSS gives it a 99.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Saltstack Salt are affected by CVE-2020-16846?

salt before 2015.8.13, salt from 2016.3.0 before 2016.3.8, salt from 2016.11.0 before 2016.11.10, salt from 2017.5.0 before 2017.7.8, salt from 2018.2.0 before 2018.3.5, salt from 2019.2.0 before 2019.2.6 and 3 more, per the GitHub advisory GHSA-qr38-h96j-2j3w. The tables above give every range the sources list.

Which version fixes CVE-2020-16846?

2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5 and 2019.2.6, per the GitHub advisory GHSA-qr38-h96j-2j3w. Check the vendor's advisory before you rely on it.

How severe is CVE-2020-16846?

Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2020-16846?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.