Salt 3006.31 LTS, 3007.18 STS, 3008.6 LTS Now Available
Salt Releases 3006.31, 3007.18, and 3008.6: 22 Security Fixes
We’re releasing Salt 3006.31, 3007.18, and 3008.6 today. These are security releases that fix 22 CVEs, ranging from medium to high in severity. All three releases contain the same set of fixes, so you can pick the one that matches the Salt version you run today.
We strongly recommend that all Salt users upgrade as soon as possible.
What we fixed
The fixes cover a range of components across the Salt master, minion, and salt-api, including:
- Authorization and ACL bypasses in the salt-api event stream,
peer_run, runner and wheel argument checks, and the queue runner - Path traversal and symlink issues in
archive.unzip, minionfs, thecacherunner,wheel.key.gen_keys,auth.del_token, andssh.set_auth_key - Command injection in the
networkandrpm_lowpkgmodules, and in salt-ssh option handling - A GPG signature verification gap for
pkg.installedwithsourceson RPM-based systems - Denial of service through unbounded msgpack deserialization
- Unsafe pickling of
__context__, local token and event bus exposure, SSDP master discovery, and CherryPy CORS handling
For the full list, including a description, impact, severity, and credits for every CVE, see the security advisory .
Breaking changes: read before you upgrade
Closing several of these vulnerabilities required tightening default behavior. Depending on how you run Salt, you may need to change your configuration before or during the upgrade:
- salt-api event stream: accounts now need
@eventsin theirexternal_authACL to read the event stream. cacherunner: thetokensbank, and the minion data banks by default, can no longer be accessed through the runner.- Runner and wheel ACLs: positional-argument restrictions in
external_authare now enforced. - salt-api (CherryPy) CORS: only origins in
cors_originare allowed. Browser clients that rely on a cross-origin session cookie should switch to theX-Auth-Tokenheader. - SSDP master discovery: minions with
discoveryenabled now requiremaster_fingerand will not start without it. queue.process_runner:queue_runner_allowlistis now required, and nothing is dispatched without it.- msgpack: messages over 100 MiB are rejected.
Some of these have a temporary setting that restores the previous behavior (for example, events_insecure_auth, cache_runner_allow_minions_bank, and discovery_insecure_auth). These settings reopen the vulnerabilities they were added to fix, so use them only as a short-term bridge. See the advisory
for details on each change.
Upgrade guidance
Because the master processes requests from every minion, upgrade your Salt master first, then your minions. Several of these CVEs affect the master directly, while others affect minions (including Windows minions and RPM-based minions), so plan to upgrade both.
- 3006.31 LTS
- Release Notes: View the release notes on GitHub
- Changelogs: CHANGELOG.md
- The Tag: Check out the official
v3006.31tag on GitHub - Source: PyPI - Salt 3006.31
- 3007.18 STS (Capstone)
- Release Notes: View the release notes on GitHub
- Changelogs: CHANGELOG.md
- The Tag: Check out the official
v3007.18tag on GitHub - Source: PyPI - Salt 3007.18
- 3008.6 LTS
- Release Notes: View the release notes on GitHub
- Changelogs: CHANGELOG.md
- The Tag: Check out the official
v3008.6tag on GitHub - Source: PyPI - Salt 3008.6
Note on 3006.x: 3006.x releases are security fixes only. Bugfixes are no longer backported to the 3006 LTS line, so we recommend planning your move to 3008 LTS.
Note on 3007.18: 3007.17 was the Capstone release, the final release of the 3007 STS line. We are releasing 3007.18 as a one-time courtesy so that 3007 users can receive these security fixes. No further 3007 releases are planned. We recommend moving to a supported LTS release, 3006 LTS or 3008 LTS.
Installation & Upgrade Notes
Users can install Salt via PyPI or through our official package repositories.
Install Guide: Refer to our official instructions for Installing Salt .
Package Repo: Packages are available here:
| IMPORTANT |
|---|
| While Salt supports differing versions between the Master and Minions during transitional periods, it is highly recommended to upgrade your Salt Master first to prevent compatibility issues. |
Reporting Issues & Feedback
If you encounter any unexpected behavior, bugs, or packaging issues with these releases, please let us know right away by opening an issue:
To report a security vulnerability, please follow the process in the Salt security policy .
Credit
These fixes were made possible by the security researchers who responsibly reported them. See the security advisory for the full list of credits.
Thank you for being a vital part of the Salt Project community. Happy automating!