Home / seperman / deepdiff / CVE-2025-58367
CVE-2025-58367: is it exploited, and which versions of seperman deepdiff are affected and fixed?
CVE-2025-58367 is a mass assignment vulnerability in seperman deepdiff. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: deepdiff from 5.0.0 before 8.6.1 (GitHub advisory GHSA-mw26-5g2v-hqw3). Fixed in 8.6.1 (GitHub advisory GHSA-mw26-5g2v-hqw3). Severity: Critical (10.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-58367?
DeepDiff is vulnerable to DoS and Remote Code Execution via Delta class pollution
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.
From the CVE record by GitHub_M, last updated September 8, 2025, 20:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| seperman | deepdiff | >= 5.0.0, < 8.6.1 |
As the CVE record by GitHub_M states it, last updated September 8, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | deepdiff | >= 5.0.0, < 8.6.1 | 8.6.1 | GHSA-mw26-5g2v-hqw3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 27, 2026. Summary: DeepDiff Class Pollution in Delta class leading to DoS, Remote Code Execution, and more.
How severe is CVE-2025-58367?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-58367 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 8, 2025)
- EPSS
- 1.29% probability of exploitation activity in the next 30 days, percentile 71.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
Where are the vendor advisories and references?
- https://github.com/seperman/deepdiff/security/advisories/GHSA-mw26-5g2v-hqw3 x_refsource_CONFIRM
- https://github.com/seperman/deepdiff/commit/c69c06c13f75e849c770ade3f556cd16209fd183 x_refsource_MISC
- https://github.com/seperman/deepdiff/releases/tag/8.6.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 29, 2025
- Published
- September 5, 2025, 21:52 UTC
- CVE record updated
- September 8, 2025, 20:08 UTC by GitHub_M
- NVD
- Deferred, last modified October 18, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect deepdiff?
- Mar 20, 2026CVE-2026-33155 seperman deepdiff: denial of service (uncontrolled resource consumption)
Questions about CVE-2025-58367
Is CVE-2025-58367 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.29% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of seperman deepdiff are affected by CVE-2025-58367?
deepdiff from 5.0.0 before 8.6.1, per the GitHub advisory GHSA-mw26-5g2v-hqw3. The tables above give every range the sources list.
Which version fixes CVE-2025-58367?
8.6.1, per the GitHub advisory GHSA-mw26-5g2v-hqw3. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58367?
Critical (10.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58367?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.