CVE-2025-71358: picklescan - Remote Code Execution via idlelib.autocomplete.AutoComplete.get_entity
picklescan before 0.0.29 fails to detect malicious pickle files that exploit idlelib.autocomplete.AutoComplete.get_entity function in reduce methods. Attackers can embed undetected code in pickle files that executes arbitrary commands when loaded by victims using pickle.load().
Security readout for executives and security teams
Plain-English summary
CVE-2025-71358 affects picklescan, a tool used to inspect Python pickle files. Versions before 0.0.29 may miss malicious pickle content that can run arbitrary commands when a victim later loads the file. The main business risk is misplaced trust in a scan result for untrusted pickle or model artifacts.
Executive priority
Prioritize remediation if the organization handles external pickle, ML model, or Python artifact files. The issue is high severity because it weakens a safety control and can lead to command execution after a user loads a malicious file.
Technical view
picklescan fails to detect pickle reduce-method abuse involving idlelib.autocomplete.AutoComplete.get_entity. The vulnerability maps to CWE-502 and can allow arbitrary command execution during pickle.load() after user interaction. The reported CVSS is 8.1, network attack vector, low complexity, no privileges, and required user interaction.
Likely exposure
Exposure is likely where teams accept, download, scan, or exchange pickle-based artifacts and then load them in Python workflows. The source bundle only names picklescan as affected; it does not establish exposure for other products or platforms.
Exploitation context
The advisory describes malicious pickle files that evade picklescan detection and execute when loaded by a victim. KEV is false in the bundle, and no cited source here confirms active exploitation in the wild.
Researcher notes
Evidence is limited to the supplied CVE, GitHub advisory reference, and VulnCheck reference. The vulnerable behavior is detection bypass for a pickle deserialization gadget path, not a direct remote service exploit. User interaction is required because execution occurs when the victim loads the pickle.
Mitigation direction
Identify all environments using picklescan.
Move off picklescan versions before 0.0.29 where applicable.
Check the GitHub advisory for confirmed fixed-version guidance.
Avoid loading pickle files from untrusted sources.
Treat prior clean picklescan results as insufficient for untrusted artifacts.
Validation and detection
Inventory dependency manifests and build images for picklescan usage.
Confirm the deployed picklescan version in CI and analyst workstations.
Review workflows that load pickle files after scanning.
Reassess recently accepted pickle artifacts from untrusted sources.
Check vendor advisory updates for detection or remediation changes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-502: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.