← Vulnerability feed

Vulnerability record · CVE-2020-16846 · published 6 November 2020

CVE-2020-16846: SaltStack Salt API shell injection via crafted web requests

Saltstack · Salt

SaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. The flaw is a CWE-78 shell injection reachable over the network without authentication, and it carries a CVSS 3.1 base score of 9.8 (critical).

9.8 CVSS 3.1 Critical CISA KEV since 3 Nov 2021 EPSS 100% · top 0.1% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 7.5
100%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
29References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityUnauthenticated network-reachable command injection with a 9.8 CVSS score, KEV listing and near-maximum EPSS probability makes this an urgent patch target.

What it is

SaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. The flaw is a CWE-78 shell injection reachable over the network without authentication, and it carries a CVSS 3.1 base score of 9.8 (critical).

Impact

An unauthenticated remote attacker can execute arbitrary shell commands on the Salt master, leading to full compromise of the host and any managed infrastructure it controls.

Attack surface

Reached over the network through the Salt API when the SSH client is enabled; the CVSS vector AV:N/AC:L/PR:N/UI:N indicates no authentication and no user interaction are required.

Exploitation

CISA added it to KEV on 2021-11-03 with a remediation due date of 2022-05-03, and EPSS shows a 30-day probability of 0.99585 (99.946th percentile); reference tags include an Exploit entry, indicating public exploit material exists. No ransomware campaign use is documented.

What to do

  • Apply vendor updates for SaltStack Salt and the affected Debian, Fedora and openSUSE packages per vendor instructions.
  • If patching cannot be done immediately, disable the Salt API SSH client or restrict Salt API exposure to trusted networks.
  • Place the Salt API behind authentication and network access controls; do not expose it directly to untrusted networks.
  • Monitor vendor advisories for the affected distributions and confirm the installed Salt version is above 3002.

Detection

  • Inspect Salt API access logs for crafted or anomalous requests, especially those invoking SSH client functionality.
  • Monitor for unexpected child processes spawned by the Salt master or salt-api service.
  • Alert on outbound network connections or command execution originating from Salt master hosts.
  • Review Salt configuration to confirm whether the SSH client is enabled and whether the API is externally reachable.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2020-16846 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "SaltStack Salt Shell Injection Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 3 May 2022.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
https://github.com/saltstack/salt/releases Release Notes
https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2 Release Notes
https://security.gentoo.org/glsa/202011-13 Third Party Advisory
https://www.debian.org/security/2021/dsa-4837 Mailing ListThird Party Advisory
https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/ Broken LinkVendor Advisory
https://www.zerodayinitiative.com/advisories/ZDI-20-1379/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1380/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1381/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1382/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1383/ Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
https://github.com/saltstack/salt/releases Release Notes
https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2 Release Notes
https://security.gentoo.org/glsa/202011-13 Third Party Advisory
https://www.debian.org/security/2021/dsa-4837 Mailing ListThird Party Advisory
https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/ Broken LinkVendor Advisory
https://www.zerodayinitiative.com/advisories/ZDI-20-1379/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1380/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1381/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1382/ Third Party AdvisoryVDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-1383/ Third Party AdvisoryVDB Entry
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846 US Government Resource

Track CVE-2020-16846 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2020-16846), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.