CVE-2025-58367seperman deepdiff
Critical 10.0 No auth needed
Follow: this CVE · seperman · seperman deepdiff We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 4.0
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Sep 5, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-915
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for deepdiff.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | deepdiff |
≥ 5.0.0 < 8.6.1 |
8.6.1 |
pip install "deepdiff>=8.6.1" |
| PyPI | deepdiff |
≥ 5.0.0 < 8.6.1 |
8.6.1 |
pip install "deepdiff>=8.6.1" |
Per OSV / GitHub Advisories (GHSA-mw26-5g2v-hqw3, PYSEC-2026-327). Check the version in your lockfile before upgrading.
Affected products
- seperman · deepdiff
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.