CVE-2026-59384

Arbitrary code execution through __context__ pickling

Published Dec 3, 2026 CVSS 3.1 · 8.8 High EPSS n/a KEV · Not listed
Description
During parallel state execution, the state compiler pickled the __context__ dictionary without validation. Objects with malicious __reduce__ or __getstate__ methods could execute code when pickled. An authenticated attacker who can inject objects into __context__ through state files or custom modules can execute arbitrary code on a Salt master or minion.

Analysis

No analysis available yet

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description During parallel state execution, the state compiler pickled the __context__ dictionary without validation. Objects with malicious __reduce__ or __getstate__ methods could execute code when pickled. An authenticated attacker who can inject objects into __context__ through state files or custom modules can execute arbitrary code on a Salt master or minion.
Title Arbitrary code execution through __context__ pickling
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 3, 2026, 7:40 AM
Reserved
Jul 4, 2026, 6:15 PM
Status
Received
Published
Dec 3, 2026, 8:17 AM
Modified
Dec 3, 2026, 8:17 AM