Security mailing lists by PureSourceCode

CVE-2025-58367

CRITICAL 10.0CVSS 4.0

DeepDiff Class Pollution in Delta class leading to DoS, Remote Code Execution, and more

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.

Published
5 Sep 2025
Last modified
27 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-915
Also known as
GHSA-mw26-5g2v-hqw3PYSEC-2026-327
Sources
NVDJSONOSV GHSA-mw26-5g2v-hqw3JSONOSV PYSEC-2026-327JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 CRITICAL 10.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI deepdiff >= 5.0.0, < 8.6.1 8.6.1

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Sep 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.