CVE-2026-47796: Command injection in network.get_route, get_bufsize, and mod_bufsize
network.getroute, network.getbufsize, and network.modbufsize built shell commands by interpolating user-supplied arguments (ip, iface). An authenticated user with Salt master access or eauth permission for network. functions can run arbitrary shell commands with the privileges of the salt-minion process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Saltto a version that resolves this vulnerability.Fixed in 3006.31 - Upgrade
Upgrade
Saltto a version that resolves this vulnerability.Fixed in 3007.18 - Upgrade
Upgrade
Saltto a version that resolves this vulnerability.Fixed in 3008.6
Event History
Frequently Asked Questions
Who is exposed to exploitation?
Salt deployments are exposed where an authenticated user has Salt master access or eauth permission to invoke network.* functions. The resulting commands run with the privileges of the salt-minion process.
What does an attacker need to exploit this issue?
The attacker needs authenticated access with Salt master access or eauth authorization for network.* functions. They can supply malicious values through the ip or iface arguments to the affected functions.
Which functions should access controls cover while remediation is pending?
Restrict access to network.get_route, network.get_bufsize, and network.mod_bufsize, and review eauth permissions that grant access to network.* functions. Limit Salt master access to trusted administrators.