An issue was discovered in SaltStack Salt through 3002.
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.
- BDU:2021-01903
- GHSA-qr38-h96j-2j3w
- DLA-2480-1
- DSA-4837-1
- openSUSE-SU-2020:1833-1
- openSUSE-SU-2020:1868-1
- PYSEC-2020-104
- SUSE-SU-2020:14538-1
- SUSE-SU-2020:3155-1
- SUSE-SU-2020:3171-1
- SUSE-SU-2020:3235-1
- SUSE-SU-2020:3243-1
- SUSE-SU-2020:3244-1
- SUSE-SU-2020:3245-1
- SUSE-SU-2020:3250-1
- SUSE-SU-2020:3251-1
- Published
- Nov 6, 2020
- Updated
- Jun 16, 2026
- EPSS
- 99.6% · 100th percentile
- CWE
- CWE-78
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
99
Now
Patch today or shut off access.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 99.6%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Nov 3, 2021. That signals real attacks, not theory.
Remediation deadline for government agencies: May 3, 2022.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| saltstack | salt | cpe:2.3:a:saltstack:salt |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- fedoraproject fedora31
- opensuse leap15.1
- saltstack saltbefore 2015.8.10
- saltstack salt2016.3.7 and later · before 2016.3.8
- saltstack salt2016.11.0 and later · before 2016.11.3
- saltstack salt2016.11.4 and later · before 2016.11.6
- saltstack salt2016.11.7 and later · before 2016.11.10
- saltstack salt2017.5.0 and later · before 2017.7.4
- saltstack salt2017.7.5 and later · before 2017.7.8
- saltstack salt2018.2.0 and later · before 2018.3.5
- saltstack salt2019.2.0 and later · before 2019.2.5
- saltstack salt3000.0 and later · before 3000.3
- saltstack salt2015.8.11 and later · before 2015.8.13
- saltstack salt2016.3.5 and later · before 2016.3.6
- saltstack salt2016.3.0 and later · before 2016.3.4
- saltstack salt3001
- saltstack salt3002
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | salt | before 2018.3.4+dfsg1-6+deb10u2 | 2018.3.4+dfsg1-6+deb10u2 |
| Debian:9 | salt | before 2016.11.2+ds-1+deb9u6 | 2016.11.2+ds-1+deb9u6 |
| openSUSE:Leap 15.1 | salt | before 3000-lp151.5.30.1 | 3000-lp151.5.30.1 |
| openSUSE:Leap 15.2 | salt | before 3000-lp152.3.15.1 | 3000-lp152.3.15.1 |
| PyPI | salt | from 2015.8.11 · before 2015.8.13 | 2015.8.13 |
| PyPI | salt | from 2016.11.0 · before 2016.11.3 | 2016.11.3 |
| PyPI | salt | from 2016.11.0 · before 2016.11.10 | 2016.11.10 |
| PyPI | salt | from 2016.11.4 · before 2016.11.6 | 2016.11.6 |
| PyPI | salt | from 2016.11.7 · before 2016.11.10 | 2016.11.10 |
| PyPI | salt | from 2016.3.0 · before 2016.3.4 | 2016.3.4 |
| PyPI | salt | from 2016.3.0 · before 2016.3.8 | 2016.3.8 |
| PyPI | salt | from 2016.3.5 · before 2016.3.6 | 2016.3.6 |
| PyPI | salt | from 2016.3.7 · before 2016.3.8 | 2016.3.8 |
| PyPI | salt | from 2017.5.0 · before 2017.7.8 | 2017.7.8 |
| PyPI | salt | from 2017.7.0 · before 2017.7.4 | 2017.7.4 |
| PyPI | salt | from 2017.7.5 · before 2017.7.8 | 2017.7.8 |
| PyPI | salt | from 2018.2.0 · before 2018.3.5 | 2018.3.5 |
| PyPI | salt | from 2018.3.0rc1 · before 2018.3.5 | 2018.3.5 |
| PyPI | salt | from 2019.2.0 · before 2019.2.5 | 2019.2.5 |
| PyPI | salt | from 2019.2.0 · before 2019.2.6 | 2019.2.6 |
| PyPI | salt | from 3000 · before 3000.3 | 3000.3 |
| PyPI | salt | from 3000.0 · before 3000.4 | 3000.4 |
| PyPI | salt | from 3001 · before 3001.2 | 3001.2 |
| PyPI | salt | from 3002 · before 3002.1 | 3002.1 |
+41
Same product
saltstack: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-11651An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2.KEV98Now
- CVE-2020-11652An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2.KEV82Now
- CVE-2021-25282An issue was discovered in through SaltStack Salt before 3002.5.64This week
- CVE-2021-3197An issue was discovered in SaltStack Salt before 3002.5.61This week
- CVE-2021-25281An issue was discovered in through SaltStack Salt before 3002.5.61This week
- CVE-2020-25592In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens.56Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Debian:salt | 2016.11.2+ds-1+deb9u6 · Debian:9 | Package registry (OSV) |
| openSUSE:salt | 3000-lp152.3.15.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| PyPI:salt | 2015.8.10 | Package registry (OSV) |
| PyPI:salt | 2015.8.13 | Package registry (OSV) |
| PyPI:salt | 2016.11.10 | Package registry (OSV) |
| PyPI:salt | 2016.11.3 | Package registry (OSV) |
| PyPI:salt | 2016.11.6 | Package registry (OSV) |
| PyPI:salt | 2016.3.4 | Package registry (OSV) |
| PyPI:salt | 2016.3.6 | Package registry (OSV) |
| PyPI:salt | 2016.3.8 | Package registry (OSV) |
| PyPI:salt | 2017.7.4 | Package registry (OSV) |
| PyPI:salt | 2017.7.8 | Package registry (OSV) |
| PyPI:salt | 2018.3.5 | Package registry (OSV) |
| PyPI:salt | 2019.2.5 | Package registry (OSV) |
| PyPI:salt | 2019.2.6 | Package registry (OSV) |
| PyPI:salt | 3000.3 | Package registry (OSV) |
| PyPI:salt | 3000.4 | Package registry (OSV) |
| PyPI:salt | 3001.2 | Package registry (OSV) |
| PyPI:salt | 3002.1 | Package registry (OSV) |
| SUSE:bind-formula | 0.1.1603299886.60e4bcf-3.3.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| SUSE:cobbler | 2.2.2-0.68.12.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS | Package registry (OSV) |
| SUSE:grafana-formula | 0.3.0-3.3.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| SUSE:image-sync-formula | 0.1.1602150122.f08af0a-3.6.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| SUSE:mgr-daemon | 4.1.3-5.20.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS | Package registry (OSV) |
| SUSE:prometheus-exporters-formula | 0.8.0-3.16.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| SUSE:salt | 2016.11.10-43.63.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS | Package registry (OSV) |
| SUSE:spacecmd | 4.1.8-18.72.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS | Package registry (OSV) |
| SUSE:spacewalk-backend | 4.1.16-4.11.5 · SUSE:Manager Proxy Module 4.1 | Package registry (OSV) |
| SUSE:spacewalk-client-tools | 4.1.7-27.38.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS | Package registry (OSV) |
| SUSE:spacewalk-web | 4.1.19-3.9.5 · SUSE:Manager Proxy Module 4.1 | Package registry (OSV) |
+1
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/linux/http/saltstack_salt_api_cmd_execSaltStack Salt REST API Arbitrary Command Executionexploit | 2020-11-03 |
| Nuclei detection template | Nuclei template CVE-2020-16846 | — |
| Proof-of-concept repository on GitHub | stars:0 | 2021-10-14 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-12-12 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-3 d
- Published
- First PoC+342 d
- CISA KEV+362 d
- TodaySep 29, 2026+2154 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
- github.com/saltstack/salt/releases
- lists.debian.org/debian-lts-announce/2020/12/msg00007.html
- lists.debian.org/debian-lts-announce/2022/01/msg00000.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/
- security.gentoo.org/glsa/202011-13
- www.debian.org/security/2021/dsa-4837
- www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/
- www.zerodayinitiative.com/advisories/ZDI-20-1379/
- www.zerodayinitiative.com/advisories/ZDI-20-1380/
- www.zerodayinitiative.com/advisories/ZDI-20-1381/
- www.zerodayinitiative.com/advisories/ZDI-20-1382/
- www.zerodayinitiative.com/advisories/ZDI-20-1383/
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846
Vendor advisories and official records. Exploit/PoC links are deliberately left out.