SaltStack Salt
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in SaltStack Salt.
Known Exploited SaltStack Salt Vulnerabilities
The following SaltStack Salt vulnerabilities have been marked by CISA as Known to be Exploited by threat actors.
| Title | Description | Added |
|---|---|---|
| SaltStack directory traversal failure to sanitize untrusted input |
The salt-master process ClearFuncs class allows access to some methods that improperly sanitize paths. These methods allow arbitrary directory access to authenticated users. CVE-2020-11652 Exploit Probability: 94.3% |
November 3, 2021 |
| SaltStack Salt Authentication Bypass |
The salt-master process ClearFuncs class does not properly validate method calls. This allows a remote user to access some methods without authentication. CVE-2020-11651 Exploit Probability: 94.4% |
November 3, 2021 |
| SaltStack Through 3002 Shell Injection Vulnerability |
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. CVE-2020-16846 Exploit Probability: 94.4% |
November 3, 2021 |
Of the known exploited vulnerabilities above, 3 are in the top 1%, or the 99th percentile of the EPSS exploit probability rankings.
By the Year
In 2026 there have been 0 vulnerabilities in SaltStack Salt. Last year, in 2025 Salt had 7 security vulnerabilities published. Right now, Salt is on track to have less security vulnerabilities in 2026 than it did last year.
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 0 | 0.00 |
| 2025 | 7 | 7.50 |
| 2024 | 2 | 0.00 |
| 2023 | 3 | 7.63 |
| 2022 | 5 | 7.78 |
| 2021 | 13 | 8.15 |
| 2020 | 6 | 8.98 |
| 2019 | 0 | 0.00 |
| 2018 | 2 | 7.55 |
It may take a day or so for new Salt vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent SaltStack Salt Security Vulnerabilities
Directory Traversal via recv_file Enables Arbitrary File Write to Master Cache
CVE-2024-38824
7.5 - High
- June 13, 2025
Directory traversal vulnerability in recv_file method allows arbitrary files to be written to the master cache directory.
SaltStack Salt Master pub_ret Untrusted File Read DoS
CVE-2025-22242
- June 13, 2025
Worker process denial of service through file read operation. .A vulnerability exists in the Master's pub_ret method which is exposed to all minions. The un-sanitized input value jid is used to construct a path which is then opened for reading. An attacker could exploit this vulnerabilities by attempting to read from a filename that will not return any data, e.g. by targeting a pipe node on the proc file system.
Salt Master Token Validation Bypass Enables Minion Impersonation
CVE-2024-38822
- June 13, 2025
Multiple methods in the salt master skip minion token validation. Therefore a misbehaving minion can impersonate another minion.
SaltStack Salt Request Server Replay Attack (No TLS)
CVE-2024-38823
- June 13, 2025
Salt's request server is vulnerable to replay attacks when not using a TLS encrypted transport.
SaltStack: pki Auth Allows Authentication Without Private Key
CVE-2024-38825
- June 13, 2025
The salt.auth.pki module does not properly authenticate callers. The "password" field contains a public certificate which is validated against a CA certificate by the module. This is not pki authentication, as the caller does not need access to the corresponding private key for the authentication attempt to be accepted.
Salt Minion v>=3007.0 Event Bus Auth Bypass
CVE-2025-22236
- June 13, 2025
Minion event bus authorization bypass. An attacker with access to a minion key can craft a message which may be able to execute a job on other minions (>= 3007.0).
SaltStack GitFS arbitrary file deletion via unvalidated tgt_env path
CVE-2025-22240
- June 13, 2025
Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the tgt_env variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to.
Syndic cache dir traversal leads to arbitrary directory creation on Salt
CVE-2024-22231
- June 27, 2024
Syndic cache directory creation is vulnerable to a directory traversal attack in salt project which can lead a malicious attacker to create an arbitrary directory on a Salt master.
Directory Traversal in Salt File Server Enables Arbitrary File Read
CVE-2024-22232
- June 27, 2024
A specially crafted url can be created which leads to a directory traversal in the salt file server. A malicious user can read an arbitrary file from a Salt masters filesystem.
Salt Master Git Provider Cache Dir Collision (3005.1, 3006.1)
CVE-2023-20898
7.8 - High
- September 05, 2023
Git Providers can read from the wrong environment because they get the same cache directory base name in Salt masters prior to 3005.2 or 3006.2. Anything that uses Git Providers with different environments can get garbage data or the wrong data, which can lead to wrongful data disclosure, wrongful executions, data corruption and/or crash.
SaltStack Salt 3005.2/3006.2 DoS via Minion Return
CVE-2023-20897
5.3 - Medium
- September 05, 2023
Salt masters prior to 3005.2 or 3006.2 contain a DOS in minion return. After receiving several bad packets on the request server equal to the number of worker threads, the master will become unresponsive to return requests until restarted.
Improper Resource Shutdown or Release
SaltStack status.py Buffer Overflow via func var
CVE-2021-33226
9.8 - Critical
- February 17, 2023
Buffer Overflow vulnerability in Saltstack v.3003 and before allows attacker to execute arbitrary code via the func variable in salt/salt/modules/status.py file. NOTE: this is disputed by third parties because an attacker cannot influence the eval input
Classic Buffer Overflow
An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2
CVE-2022-22967
8.8 - High
- June 23, 2022
An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.
AuthZ
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1
CVE-2022-22934
8.8 - High
- March 29, 2022
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. Salt Masters do not sign pillar data with the minions public key, which can result in attackers substituting arbitrary pillar data.
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1
CVE-2022-22935
3.7 - Low
- March 29, 2022
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. A minion authentication denial of service can cause a MiTM attacker to force a minion process to stop by impersonating a master.
authentification
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1
CVE-2022-22936
8.8 - High
- March 29, 2022
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. Job publishes and file server replies are susceptible to replay attacks, which can result in an attacker replaying job publishes causing minions to run old jobs. File server replies can also be re-played. A sufficient craft attacker could gain root access on minion under certain scenarios.
Authentication Bypass by Capture-replay
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1
CVE-2022-22941
8.8 - High
- March 29, 2022
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. When configured as a Master-of-Masters, with a publisher_acl, if a user configured in the publisher_acl targets any minion connected to the Syndic, the Salt Master incorrectly interpreted no valid targets as valid, allowing configured users to target any of the minions connected to the syndic with their configured commands. This requires a syndic master combined with publisher_acl configured on the Master-of-Masters, allowing users specified in the publisher_acl to bypass permissions, publishing authorized commands to any configured minion.
Incorrect Permission Assignment for Critical Resource
An issue was discovered in SaltStack Salt before 3003.3
CVE-2021-21996
7.5 - High
- September 08, 2021
An issue was discovered in SaltStack Salt before 3003.3. A user who has control of the source, and source_hash URLs can gain full file system access as root on a salt minion.
In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module
CVE-2021-31607
7.8 - High
- April 23, 2021
In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).
Shell injection
CWE - CWE-287: Improper Authentication vulnerability in SUSE Linux Enterprise Server 15 SP 3; openSUSE Tumbleweed
CVE-2021-25315
7.8 - High
- March 03, 2021
CWE - CWE-287: Improper Authentication vulnerability in SUSE Linux Enterprise Server 15 SP 3; openSUSE Tumbleweed allows local attackers to execute arbitrary code via salt without the need to specify valid credentials. This issue affects: SUSE Linux Enterprise Server 15 SP 3 salt versions prior to 3002.2-3. openSUSE Tumbleweed salt version 3002.2-2.1 and prior versions. This issue affects: SUSE Linux Enterprise Server 15 SP 3 salt versions prior to 3002.2-3. openSUSE Tumbleweed salt version 3002.2-2.1 and prior versions.
authentification
An issue was discovered in SaltStack Salt before 3002.5
CVE-2021-3148
9.8 - Critical
- February 27, 2021
An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.
Command Injection
In SaltStack Salt before 3002.5, eauth tokens can be used once after expiration
CVE-2021-3144
9.1 - Critical
- February 27, 2021
In SaltStack Salt before 3002.5, eauth tokens can be used once after expiration. (They might be used to run command against the salt master or minions.)
Insufficient Session Expiration
An issue was discovered in SaltStack Salt before 3002.5
CVE-2021-3197
9.8 - Critical
- February 27, 2021
An issue was discovered in SaltStack Salt before 3002.5. The salt-api's ssh client is vulnerable to a shell injection by including ProxyCommand in an argument, or via ssh_options provided in an API request.
Injection
An issue was discovered in SaltStack Salt before 3002.5
CVE-2020-28243
7.8 - High
- February 27, 2021
An issue was discovered in SaltStack Salt before 3002.5. The minion's restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.
Command Injection
In SaltStack Salt before 3002.5
CVE-2020-28972
5.9 - Medium
- February 27, 2021
In SaltStack Salt before 3002.5, authentication to VMware vcenter, vsphere, and esxi servers (in the vmware.py files) does not always validate the SSL/TLS certificate.
Improper Certificate Validation
In SaltStack Salt before 3002.5
CVE-2020-35662
7.4 - High
- February 27, 2021
In SaltStack Salt before 3002.5, when authenticating to services using certain modules, the SSL certificate is not always validated.
Improper Certificate Validation
An issue was discovered in through SaltStack Salt before 3002.5
CVE-2021-25281
9.8 - Critical
- February 27, 2021
An issue was discovered in through SaltStack Salt before 3002.5. salt-api does not honor eauth credentials for the wheel_async client. Thus, an attacker can remotely run any wheel modules on the master.
authentification
An issue was discovered in through SaltStack Salt before 3002.5
CVE-2021-25282
9.1 - Critical
- February 27, 2021
An issue was discovered in through SaltStack Salt before 3002.5. The salt.wheel.pillar_roots.write method is vulnerable to directory traversal.
Directory traversal
An issue was discovered in through SaltStack Salt before 3002.5
CVE-2021-25283
9.8 - Critical
- February 27, 2021
An issue was discovered in through SaltStack Salt before 3002.5. The jinja renderer does not protect against server side template injection attacks.
Code Injection
An issue was discovered in through SaltStack Salt before 3002.5
CVE-2021-25284
4.4 - Medium
- February 27, 2021
An issue was discovered in through SaltStack Salt before 3002.5. salt.modules.cmdmod can log credentials to the info or error log level.
Insertion of Sensitive Information into Log File
In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens
CVE-2020-25592
9.8 - Critical
- November 06, 2020
In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.
Improper Input Validation
The TLS module within SaltStack Salt through 3002 creates certificates with weak file permissions.
CVE-2020-17490
- November 06, 2020
The TLS module within SaltStack Salt through 3002 creates certificates with weak file permissions.
An issue was discovered in SaltStack Salt through 3002
CVE-2020-16846
9.8 - Critical
- November 06, 2020
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.
Shell injection
An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2
CVE-2020-11652
6.5 - Medium
- April 30, 2020
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.
Directory traversal
An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2
CVE-2020-11651
9.8 - Critical
- April 30, 2020
An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class does not properly validate method calls. This allows a remote user to access some methods without authentication. These methods can be used to retrieve user tokens from the salt master and/or run arbitrary commands on salt minions.
In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection
CVE-2019-17361
- January 17, 2020
In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection. This allows an unauthenticated attacker with network access to the API endpoint to execute arbitrary code on the salt-api host.
SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3
CVE-2018-15751
9.8 - Critical
- October 24, 2018
SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allow remote attackers to bypass authentication and execute arbitrary commands via salt-api(netapi).
authentification
Directory Traversal vulnerability in salt-api in SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3
CVE-2018-15750
5.3 - Medium
- October 24, 2018
Directory Traversal vulnerability in salt-api in SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allows remote attackers to determine which files exist on the server.
Directory traversal
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for SaltStack Salt or by SaltStack? Click the Watch button to subscribe.