Summary
Salt's peer_run validated only the minion identity and function name, not the arguments passed to the runner, and matched function names by prefix. A minion authorized for one runner function can call other functions in the same runner with arbitrary arguments, which can lead to remote code execution on the Salt master (CWE-863, Incorrect Authorization).
CVSS 8.8 (High): network attack, low complexity, low privileges required (a compromised or malicious minion with peer_run authorization), no user interaction. Successful exploitation has high impact on confidentiality, integrity and availability of the master and thus the whole managed infrastructure.
The vulnerability is not in the CISA KEV catalog; EPSS is low (about 0.6%).
Who is affected
Organizations running Salt (VMware) versions 3006.0 – <3006.31, 3007.0 – <3007.18 or 3008.0 – <3008.6, especially those with peer_run permissions configured for minions.
What to do
- Upgrade Salt to 3006.31, 3007.18 or 3008.6 (per branch) – in these, peer_run uses runner_check(), which applies argument-level ACL constraints.
- Check the Salt master version (e.g. salt --version) to determine whether an affected version is in use.
- Review the peer_run configuration on the master and remove or narrow unnecessary permissions, bearing in mind function names are matched by prefix.
- Review master logs for unexpected runner calls made by minions.
- Follow the official advisory: https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6
Vendor solution
peer_run now uses runner_check(), which applies argument-level ACL constraints. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-863 Incorrect Authorization
References
- saltproject.io/blog/advisory-3006-31-3007-18-3008-6 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.