Security Resilience

CVE-2025-58367

seperman deepdiff

Published
05 September 2025
Modified
18 October 2026
CVSS Score v4 10.0
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.012 69th percentile
Risk Priority 49 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-58367 is a critical-severity Improperly Controlled Modification of Dynamically-Determined Object Attributes (CWE-915) vulnerability in seperman deepdiff (named in the CVE record; NVD lists no product yet). Its CVSS base score is 10.0 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked in the top 31% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

DeepDiff versions 5.0.0 through 8.6.0 contain a class pollution vulnerability in the Delta class constructor. When combined with an available gadget that modifies deepdiff.serialization.SAFE_TO_IMPORT, the flaw permits unsafe classes such as posix.system to be loaded, enabling insecure pickle deserialization that can result in denial of service or remote code execution. The issue is tracked as CWE-915 and carries a CVSS 4.0 score of 10.0.

An unauthenticated attacker who can supply user-controlled input to the Delta constructor can alter the import allow-list and trigger deserialization of arbitrary Python objects. This grants the ability to execute any Python code reachable in the application's environment, with impact severity depending on the privileges of the process using DeepDiff.

The vulnerability is fixed in release 8.6.1. The project advisory GHSA-mw26-5g2v-hqw3 and the associated commit c69c06c13f75e849c770ade3f556cd16209fd183 document the patch that prevents modification of SAFE_TO_IMPORT and removes the unsafe deserialization path.

EPSS for the CVE rose from a low of 0.0027 to a peak of 0.0101, indicating measurable post-disclosure exploitation interest. No confirmed in-the-wild exploitation has been reported.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-126467Shared CWE-915
CVE-2026-43925Shared CWE-915
CVE-2026-29056Shared CWE-915
CVE-2026-45229Shared CWE-915
CVE-2026-33453Shared CWE-915
CVE-2026-22814Shared CWE-915
CVE-2026-54351Shared CWE-915
CVE-2026-24140Shared CWE-915
CVE-2026-58477Shared CWE-915
CVE-2026-134169Shared CWE-915

Affected Assets

seperman
deepdiff
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces authorizations so that only permitted attributes may be modified on an object.

Limits the set of modifiable attributes a subject is authorized to touch.

Validates incoming attribute names and values so that only explicitly allowed fields are accepted for update.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require allow-listing of mutable object attributes and input validation to block mass-assignment flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect mass-assignment flaws but does not itself prevent them at runtime.

prevents

Secure coding standards explicitly forbid unsafe dynamic attribute assignment and require property allow-lists.

blocks

Information access restriction limits who can modify objects but does not address which attributes may be changed.

prevents

A.8.30 contracts the supplier to apply secure design, coding and testing practices (8.25–8.29), so a well-implemented clause reduces ordinary software weaknesses in delivered code the way those practices do; CWE-915 is a code-level mass-assignment defect reachable by those practices, but the effect depends on the supplier's implementation and the clause's ceiling on this verb is `partial`.

finds

A.8.8's reach is disclosure-based, and mass assignment does surface as CVEs in published products (multiple examples in CWE-915's observed list), so the clause finds that minority; the bulk of mass-assignment instances live in custom first-party code that never receives a CVE, which A.8.8 does not reach.

References