CVE-2020-16846 in Debian Linux and 3 more products
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.
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 |
| Fedoraproject | Fedora | 31 |
| Opensuse | Leap | 15.1 |
| Saltstack | Salt | 3001 3002 < 2015.8.10 ≥ 2015.8.11, < 2015.8.13 ≥ 2016.3.0, < 2016.3.4 ≥ 2016.3.5, < 2016.3.6+9 more≥ 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.5.0, < 2017.7.4 ≥ 2017.7.5, < 2017.7.8 ≥ 2018.2.0, < 2018.3.5 ≥ 2019.2.0, < 2019.2.5 ≥ 3000.0, < 3000.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2021-11-03 |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-16846 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-239557-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-11-06 |
| Last modified | 2026-12-03 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-16846 affects SaltStack Salt versions up to 3002, allowing attackers to perform shell injection via crafted web requests to the Salt API when the SSH client is enabled. This vulnerability has a CVSS score of 9.8, indicating critical severity, and is listed in the KEV catalog with a high EPSS score, suggesting a high likelihood of exploitation. Immediate action is required to mitigate the risk, especially in ICS/OT environments where such vulnerabilities can lead to significant operational disruptions and safety issues.
The vulnerability arises from insufficient input validation in the Salt API when the SSH client is enabled. An attacker can send specially crafted web requests that result in shell injection, potentially leading to remote code execution. The attack vector is network-based, requiring no user interaction or privileges, making it highly exploitable in both IT and OT environments.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization on the Salt API, particularly for the SSH client. Ensure that all incoming requests are validated against a whitelist of allowed commands and parameters. Additionally, consider using a Web Application Firewall (WAF) to filter out suspicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2020-16846?
CVE-2020-16846 affects SaltStack Salt versions up to 3002, allowing attackers to perform shell injection via crafted web requests to the Salt API when the SSH client is enabled. This vulnerability has a CVSS score of 9.8, indicating critical severity, and is listed in the KEV catalog with a high EPSS score, suggesting a high likelihood of exploitation. Immediate action is required to mitigate the risk, especially in ICS/OT environments where such vulnerabilities can lead to significant operation
What is the CVSS score for CVE-2020-16846?
CVE-2020-16846 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 99.6%.
Is CVE-2020-16846 actively exploited?
Yes. CVE-2020-16846 is in the CISA known-exploited catalog (added 2021-11-03). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2020-16846?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2020-16846?
CVE-2020-16846 affects Debian Debian Linux; Fedoraproject Fedora; Opensuse Leap; Saltstack Salt.
What NERC-CIP standard applies to CVE-2020-16846?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the control system, which could compromise the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2020-16846?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves a vulnerability in the communication protocol that could allow an attacker to execute arbitrary code, compromising the security of the industrial control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-12-03.