Summary
In Salt, queue.insert_runner did not record who queued a job, and queue.process_runner ran queued jobs without checking the original requester's permissions (CWE-863, Incorrect Authorization). Affected versions are 3006.0 before 3006.31, 3007.0 before 3007.18 and 3008.0 before 3008.6.
The attack is network-based, low complexity and requires no user interaction. It does require an authenticated, low-privileged eauth user, and the queue.insert_runner permission alone is sufficient. Such a user can queue any runner function, which then runs with the Salt master's full privileges.
The impact is a full compromise of confidentiality, integrity and availability (CVSS 8.8, high severity). The vulnerability is not listed in CISA KEV, and its EPSS exploitation probability is low (about 0.5%).
Who is affected
Organizations running a Salt master with eauth access on affected 3006.x, 3007.x or 3008.x versions, especially where users are granted the queue.insert_runner permission.
What to do
- Upgrade Salt to 3006.31, 3007.18 or 3008.6, depending on the branch you run.
- Before upgrading, configure the new queue_runner_allowlist option and list every function process_runner is allowed to dispatch. If the option is unset, process_runner() dispatches nothing (breaking change).
- Review your eauth configuration to identify which users hold the queue.insert_runner permission. Until you upgrade, restrict it to users who strictly need it.
- Review queued jobs and Salt master logs for unexpected runner function executions.
- Check the official advisory for details: https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6
Vendor solution
Queued function names are validated before dispatch, and a new queue_runner_allowlist option controls which functions may run. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.
Breaking change: queue_runner_allowlist is now required. If it is unset, process_runner() dispatches nothing. List every function it is allowed to dispatch.
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.