Vulnerability in DeepDiff Product by Seperman Leads to Remote Code Execution
CVE-2025-58367
10CRITICAL
What is CVE-2025-58367?
DeepDiff, a tool for identifying differences within Python data, is susceptible to a vulnerability that allows for class pollution through its Delta class constructor. When exploited, it can lead to Denial of Service and Remote Code Execution due to insecure Pickle deserialization. Specifically, attackers can manipulate the deepdiff.serialization.SAFE_TO_IMPORT
attribute to include unsafe classes, potentially enabling the execution of arbitrary Python code if user-controlled input is processed. This vulnerability affects all DeepDiff versions from 5.0.0 to 8.6.0 and has been resolved in version 8.6.1.
Affected Version(s)
deepdiff >= 5.0.0, < 8.6.1