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

Salt: arbitrary code execution via __context__ pickling

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

Summary

In Salt (VMware), the state compiler pickles the __context__ dictionary without validation during parallel state execution. Objects with malicious __reduce__ or __getstate__ methods can execute code when pickled (CWE-502, deserialization of untrusted data).

Per the CVSS vector, the attack is local, low complexity, requires an authenticated low-privileged user and no user interaction. The attacker must be able to inject objects into __context__ through state files or custom modules. Scope is changed (S:C), meaning impact extends beyond the vulnerable component.

Successful exploitation lets the attacker execute arbitrary code on a Salt master or minion, with full impact on confidentiality, integrity and availability. The issue is not in the CISA KEV catalog; the EPSS exploitation probability is low (about 0.3%).

Who is affected

Organizations running Salt 3006.0 before 3006.31, 3007.0 before 3007.18, or 3008.0 before 3008.6 on masters and minions for configuration management.

What to do

  1. Upgrade Salt to 3006.31, 3007.18 or 3008.6 (depending on your branch); the fix only allows safe built-in types to be pickled.
  2. Check installed Salt versions on all masters and minions (e.g. salt --versions-report) against the affected ranges.
  3. Restrict who can modify state files and custom modules, and review recent changes in those repositories.
  4. Review the official advisory: https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6

Vendor solution

Only safe built-in types are allowed to be pickled. 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:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Affects other components
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-502 Deserialization of Untrusted Data

References

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