SaltStack Salt
SaltStack Salt Path Traversal Vulnerability
An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class allows access to some methods that improperly sanitize paths. These methods allow arbitrary directory access to authenticated users.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
Mitigation
Upgrade salt to 2019.2.4 or later.
Upgrade salt to 3000.2 or later.
Timeline
Days relative to CVE publicationFirst public PoC 4.3 days after publication; added to CISA KEV 1.5 years after publication. First PoC: Saltstack 3000.1 - Remote Code Execution (Exploit-DB, 5 May 2020).
PoC repositories
Found on GitHub.6 PoCs · 4 not a PoC · 2 suspicious or fake
PoCs 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| heikanet/CVE-2020-11651-CVE-2020-11652-EXP | 7 May 2020 +6.7 d | 24 | PoC |
| ssrsec/CVE-2020-11651-CVE-2020-11652-EXP | 7 May 2020 +6.7 d | 24 | PoC |
| appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652 | 30 Nov 2020 +214 d | 2 | PoC
Flags · score 20
Below the suspicion threshold (50); does not change the assessment. |
| Al1ex/CVE-2020-11652 | 25 Dec 2020 +238 d | 5 | PoC |
| limon768/CVE-2020-11652-CVE-2020-11652-POC | 17 Jan 2024 +3.7 y | 4 | PoC |
| limon768/CVE-2020-11652-POC | 17 Jan 2024 +3.7 y | 4 | PoC |
Not a PoC 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xc0d/CVE-2020-11651 | 4 May 2020 +3.8 d | 40 | Not a PoC · unrelated |
| jasperla/CVE-2020-11651-poc | 4 May 2020 +3.8 d | 123 | Not a PoC · unrelated |
| hardsoftsecurity/CVE-2020-11651-PoC | 18 Dec 2023 +3.6 y | 0 | Not a PoC · unrelated |
| Drew-Alleman/CVE-2020-11651 | 30 Mar 2025 +4.9 y | 1 | Not a PoC · unrelated |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| fanjq99/CVE-2020-11652 | 22 May 2020 +22 d | 0 | Fake |
| capivara-research/CVE-Exploitation | 22 Aug 2026 +6.3 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Saltstack 3000.1 - Remote Code Execution | 5 May 2020 | 14 Nov 2026 |
| Metasploit | Metasploit auxiliary: SaltStack Salt Master Server Root Key Disclosure (auxiliary/gather/saltstack_salt_root_key) | 11 May 2020 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: SaltStack Salt Master/Minion Unauthenticated RCE (exploit/linux/misc/saltstack_salt_unauth_rce) | 11 May 2020 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 6 PoC reposPOST /bytoken
- Body markers
tokens=,inapplication/x-www-form-urlencoded- Seen in
- 1 repo: appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652
- Evidence
- appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652/salt_rce_scanner.py:202 appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652/salt_rce_scanner.py:205
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/bytoken(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-11652 SaltStack Salt exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/bytoken"; http.request_body; content:"tokens=,"; reference:url,poc.griffinguard.io/cve/CVE-2020-11652; classtype:web-application-attack; sid:9601811; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: SaltStack Salt exploit attempt (CVE-2020-11652)
id: gg-pocmon-cve-2020-11652-9601811
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-11652. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-11652
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/bytoken'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.11652