Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.2CVE-2026-47796

Salt: OS command injection in network module functions

Published 03/12/2026 · Updated 04/12/2026 · VMware SALT

Summary

The network.get_route, network.get_bufsize and network.mod_bufsize functions in Salt built shell commands by interpolating user-supplied arguments (ip, iface) without proper validation (CWE-78), allowing injection of arbitrary OS commands.

Per the CVSS vector (7.2, High), the attack is network-based, low complexity and needs no user interaction, but requires high privileges: Salt master access or eauth permission for network.* functions. A successful attacker can run arbitrary shell commands with the privileges of the salt-minion process, with full impact on confidentiality, integrity and availability.

The vulnerability is not listed in CISA KEV; the EPSS exploitation probability is low (about 0.65%).

Who is affected

Organisations running Salt 3006.0 through 3006.30, 3007.0 through 3007.17 or 3008.0 through 3008.5, especially where users are granted eauth permissions for network.* functions.

What to do

  1. Upgrade Salt to 3006.31, 3007.18 or 3008.6 (depending on branch), which contain the fix: ip is validated as an IP address, iface is restricted to valid interface name characters, and network.get_route no longer uses a shell.
  2. Inventory Salt master and minion installations and check versions against the affected ranges.
  3. Review eauth and ACL configuration and restrict network.* permissions to strictly necessary users.
  4. Restrict and monitor access to the Salt master and review logs for calls to network.get_route, network.get_bufsize and network.mod_bufsize with unusual arguments.
  5. Consult the official advisory: https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6

Vendor solution

ip is validated as an IP address, iface is restricted to valid interface name characters, and network.get_route no longer uses a shell. 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

VMware SALT3006.0 – < 3006.31 · 3007.0 – < 3007.18 · 3008.0 – < 3008.6Fixed in: 3006.31 · 3007.18 · 3008.6

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Administrator
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.