Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

Picklescan has a missing detection when calling built-in python idlelib.autocomplete.AutoComplete.get_entity (CVE-2025-71358)

0
High
Published: 08/26/2025 (08/26/2025, 18:37:10 UTC)
Source: GCVE Database
Product: picklescan

Description

Picklescan versions prior to 0.0.29 fail to detect malicious pickle files that exploit the built-in Python function idlelib.autocomplete.AutoComplete.get_entity. This allows attackers to craft pickle payloads that bypass Picklescan's detection and execute arbitrary code when loaded. The vulnerability affects users relying on Picklescan to verify the safety of pickle files, particularly in contexts such as PyTorch models. Exploitation can lead to remote code execution and supply chain attacks through infected pickle files distributed in machine learning models or saved Python objects.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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

Affected software

PyPIghsa
picklescan
Affected versions
<0.0.29

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 19:27:03 UTC

Technical Analysis

Picklescan, a library used to detect malicious pickle files, has a detection gap when handling payloads that use the Python built-in function idlelib.autocomplete.AutoComplete.get_entity. An attacker can craft a pickle payload whose reduce method calls this function with a malicious command, which Picklescan does not flag as dangerous. Consequently, when a victim trusts Picklescan's assessment and loads the pickle file, the malicious code executes remotely. This vulnerability is tracked as CVE-2025-71358 and affects Picklescan versions before 0.0.29.

Potential Impact

Any organization or individual using Picklescan to validate pickle files, especially in machine learning workflows involving PyTorch models, is at risk. The vulnerability enables attackers to embed malicious code in pickle files that evade detection and execute upon loading, potentially leading to remote code execution. This can facilitate supply chain attacks by distributing infected pickle files through ML models, APIs, or saved Python objects, compromising system integrity and confidentiality.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should verify if Picklescan has released an official fix for versions prior to 0.0.29. Until a patch is available, avoid loading pickle files solely based on Picklescan's detection results if they originate from untrusted sources. Consider additional manual review or alternative detection methods for pickle file safety.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6w4w-5w54-rjvr
Osv Schema Version
1.4.0
Aliases
["CVE-2025-71358"]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a5bd3182a4a8d5989285002

Added to database: 07/18/2026, 19:25:12 UTC

Last enriched: 07/18/2026, 19:27:03 UTC

Last updated: 07/29/2026, 20:52:02 UTC

Views: 44

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses