CVE-2020-11652: Directory Traversal in SaltStack Salt Master
- Vendors
- VMwareDebian ProjectOpensuseSaltstackCanonicalBlackberry
CVE-2020-11652 is a directory traversal vulnerability in SaltStack Salt releases before 2019.2.4 and in the 3000 series before 3000.2. Insufficient path sanitization in Salt master functionality allows authenticated users to escape intended filesystem boundaries. Affected functionality includes get_token() in salt.tokens.localfs and wheel file-roots operations, including file_roots.read. The token-handling method accepts traversal elements in a token parameter used to locate a file, while vulnerable wheel operations fail to adequately constrain paths to their configured roots. Successful exploitation permits unauthorized filesystem access under the Salt master process's permissions. Chaining this vulnerability with the separate authentication bypass CVE-2020-11651 enables attacks without prior credentials.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Authenticated attackers can access files outside authorized directories on the Salt master, exposing sensitive configuration, credentials, and other data readable by the service account. Vulnerable wheel filesystem operations also create risks to filesystem integrity. When combined with CVE-2020-11651, exploitation can lead to unauthenticated remote code execution and compromise of the master and managed minions, potentially with root privileges. The vulnerability pair has been exploited in cryptocurrency-mining campaigns involving Kinsing and MALXMR.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to Salt master services to authorized minions and trusted administrative systems using firewall rules or network segmentation. Remove public Internet access to the master ports, commonly TCP 4505 and 4506, accounting for any customized port configuration. Network restrictions reduce exposure but do not replace patching or prevent exploitation by an authenticated attacker with permitted access.
Remediation
Patch, then assume compromise.
Upgrade Salt to version 2019.2.4 or later in the 2019.2 branch, or version 3000.2 or later in the 3000 branch. The fixes add filesystem path validation, including resolution of filesystem links and checks that resolved paths remain beneath the intended root. Ensure the accompanying fixes for CVE-2020-11651 are also installed to prevent authentication-bypass chaining.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-11652 exploited in the wild?
- Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2020-11652?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2020-11652, the earliest disclosed Apr 30, 2020.
- Is there a patch for CVE-2020-11652?
- Upgrade Salt to version 2019.2.4 or later in the 2019.2 branch, or version 3000.2 or later in the 3000 branch. The fixes add filesystem path validation, including resolution of filesystem links and checks that resolved paths remain beneath the intended root.
- What products are affected by CVE-2020-11652?
- Saltstack Salt, VMware Application Remote Collector, Debian Project Debian Linux, Opensuse Leap, Canonical Ubuntu Linux, and 1 more.
- How severe is CVE-2020-11652?
- CVE-2020-11652 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 98.1% (100th percentile) as of Nov 26, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.