Read the docs
TI-2025-36155 Aliases CVE-2025-58367GHSA-mw26-5g2v-hqw3

DeepDiff is vulnerable to DoS and Remote Code Execution via Delta class pollution

Priority HIGH 76CWE-915Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Tampering
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-915.

Summary

DeepDiff is a project focused on Deep Difference and search of any Python data. Versions 5.0.0 through 8.6.0 are vulnerable to class pollution via the Delta class constructor, and when combined with a gadget available in DeltaDiff, it can lead to Denial of Service and Remote Code Execution (via insecure Pickle deserialization) exploitation. The gadget available in DeepDiff allows `deepdiff.serialization.SAFE_TO_IMPORT` to be modified to allow dangerous classes such as posix.system, and then perform insecure Pickle deserialization via the Delta class. This potentially allows any Python code to be executed, given that the input to Delta is user-controlled. Depending on the application where DeepDiff is used, this can also lead to other vulnerabilities. This is fixed in version 8.6.1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01197 68th percentileScored 2026-11-07
Fix Fixed deepdiff (seperman): 8.6.1deepdiff (PyPI): 8.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sepermandeepdiff5.0.0 to before 8.6.18.6.1Patch availableCNA
—deepdiff (PyPI)5.0.0 to before 8.6.18.6.1Patch availableGHSA-mw26-5g2v-hqw3
  • deepdiff Vendorseperman Affected 5.0.0 to before 8.6.1 Fixed in 8.6.1 Patch available CNA
  • deepdiff (PyPI) Vendor— Affected 5.0.0 to before 8.6.1 Fixed in 8.6.1 Patch available GHSA-mw26-5g2v-hqw3

Remediation

  • Fix · CNA deepdiff (seperman) Fixed in 8.6.1
  • Fix · GHSA-mw26-5g2v-hqw3 deepdiff (PyPI) Fixed in 8.6.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58367
  2. 2026-10-03 Alias added: GHSA-mw26-5g2v-hqw3

References

Sources