<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Picklescan &lt; 0.0.28 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/picklescan--0.0.28/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 04 Jul 2026 02:27:56 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/picklescan--0.0.28/feed.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2025-71369: Picklescan Malicious Pickle Detection Bypass Leading to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71369-picklescan-rce-bypass/</link><pubDate>Sat, 04 Jul 2026 02:27:56 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71369-picklescan-rce-bypass/</guid><description>A critical vulnerability, CVE-2025-71369, in `picklescan` versions prior to 0.0.28 allows remote attackers to bypass safety checks for malicious Python pickle files that utilize specific `torch.utils.data.datapipes` methods, enabling undetected embedded malicious code to execute during deserialization, which results in remote code execution (RCE) on the victim's system.</description><content:encoded><![CDATA[<p>CVE-2025-71369 addresses a critical flaw in <code>picklescan</code> versions released before 0.0.28, a tool designed to detect malicious Python pickle files. This vulnerability permits remote attackers to craft specially designed pickle files that leverage <code>torch.utils.data.datapipes.utils.decoder.basichandlers</code> within their <code>__reduce__</code> methods. The <code>picklescan</code> library, when tasked with scanning such files, fails to identify the embedded malicious code, effectively bypassing its intended security checks. Consequently, when an affected application or system subsequently deserializes these &quot;undetected&quot; malicious pickle files, the embedded code is executed, leading to remote code execution (RCE). This poses a significant supply chain risk, as data scientists or ML engineers using vulnerable <code>picklescan</code> versions could inadvertently process compromised data, granting attackers control over their environments.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious Python pickle file by embedding arbitrary code within the <code>__reduce__</code> method, specifically utilizing <code>torch.utils.data.datapipes.utils.decoder.basichandlers</code> to evade detection.</li>
<li>The attacker distributes this malicious pickle file, potentially through compromised data repositories, malicious PyPI packages, or by sending it directly to a target.</li>
<li>A victim organization or individual downloads and stores the seemingly benign pickle file, potentially as part of a dataset or machine learning model.</li>
<li>The victim's environment, which integrates a vulnerable version of <code>picklescan</code> (prior to 0.0.28), processes or scans the downloaded pickle file.</li>
<li>Due to CVE-2025-71369, <code>picklescan</code> fails to identify the malicious payload within the pickle file, allowing it to be treated as legitimate.</li>
<li>A Python application or framework within the victim's environment attempts to deserialize the &quot;clean&quot; pickle file.</li>
<li>During the deserialization process, the malicious code embedded via the <code>__reduce__</code> method is executed by the Python interpreter.</li>
<li>This execution leads to remote code execution (RCE), granting the attacker unauthorized control over the system where deserialization occurred, potentially allowing for data exfiltration, further compromise, or system disruption.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2025-71369 can lead to severe consequences, as remote code execution (RCE) grants attackers full control over the compromised system. This can result in unauthorized access to sensitive data, installation of backdoors, deployment of ransomware, or the use of the compromised system as a pivot point for further network penetration. Given the nature of pickle files in data science and machine learning workflows, this vulnerability presents a significant supply chain risk, potentially affecting numerous organizations that exchange or process such data. The CVSS v3.1 Base Score of 8.1 (High) underscores the critical nature of this flaw, highlighting the ease of exploitation and high impact on confidentiality and integrity.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately upgrade <code>picklescan</code> to version 0.0.28 or later to remediate CVE-2025-71369, which contains the fix for this vulnerability.</li>
<li>Implement strict input validation and sanitization for all pickle files processed by your applications, especially those originating from untrusted or external sources.</li>
<li>Review existing practices for handling and deserializing pickle files; avoid deserializing untrusted data whenever possible.</li>
<li>Ensure that any systems processing pickle files operate with the principle of least privilege to minimize the potential impact of successful exploitation.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>python</category><category>deserialization</category><category>rce</category><category>vulnerability</category><category>supply-chain</category><category>machine-learning</category></item><item><title>CVE-2025-71366: Picklescan Deserialization Vulnerability Leads to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71366-picklescan-deserialization/</link><pubDate>Sat, 04 Jul 2026 02:26:41 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71366-picklescan-deserialization/</guid><description>A critical deserialization vulnerability (CVE-2025-71366) exists in picklescan versions prior to 0.0.28, allowing remote attackers to bypass safety checks by embedding malicious `torch.utils.bottleneck.__main__.run_cprofile` function calls in pickle files, leading to arbitrary code execution when victims load the crafted files.</description><content:encoded><![CDATA[<p>A significant deserialization vulnerability, tracked as CVE-2025-71366, has been identified in <code>picklescan</code> versions predating 0.0.28. This flaw allows malicious actors to craft Python pickle files that include specific <code>torch.utils.bottleneck.__main__.run_cprofile</code> function calls. Critically, the <code>picklescan</code> library, designed to detect and prevent malicious code execution from untrusted pickle files, fails to properly identify these embedded calls. This bypass of security checks enables remote attackers to inject and execute arbitrary code. When a victim's system loads such a specially crafted and undetected malicious pickle file, the embedded code executes with the privileges of the application processing the file, leading to potential system compromise and data loss. This vulnerability is highly impactful due to the widespread use of pickle files in Python ecosystems for data serialization and the security trust placed in <code>picklescan</code>.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious Python pickle file containing a serialized object that leverages <code>torch.utils.bottleneck.__main__.run_cprofile</code> to embed arbitrary code.</li>
<li>The attacker ensures the payload is specifically designed to bypass the detection mechanisms implemented in <code>picklescan</code> versions older than 0.0.28.</li>
<li>The attacker delivers the crafted malicious pickle file to a target system, potentially through untrusted data ingestion, shared repositories, or direct download.</li>
<li>A user or an automated process on the victim's system initiates the loading of the malicious pickle file using a Python application that integrates with the vulnerable <code>picklescan</code> library.</li>
<li>During the scanning process, the vulnerable <code>picklescan</code> library (version &lt; 0.0.28) fails to detect the malicious <code>torch.utils.bottleneck.__main__.run_cprofile</code> call due to the inherent deserialization vulnerability.</li>
<li>Upon deserialization of the undetected malicious pickle file, the embedded arbitrary code is executed on the victim's system, achieving remote code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2025-71366 results in arbitrary code execution on the victim's system, allowing attackers to take full control of the compromised machine. This can lead to unauthorized data access, modification, or exfiltration; installation of malware such as ransomware or backdoors; and further lateral movement within the network. While specific victim counts or targeted sectors are not provided in the source, any organization or individual processing untrusted pickle files with vulnerable versions of <code>picklescan</code> could be at risk, especially those in data science, machine learning, or research environments.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li><strong>Patch CVE-2025-71366 immediately</strong> by upgrading <code>picklescan</code> to version 0.0.28 or later to address the deserialization vulnerability.</li>
<li>Implement strict validation and sandboxing for all incoming pickle files, especially those from untrusted sources, even after patching, as a defense-in-depth measure against similar deserialization flaws.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cve</category><category>vulnerability</category><category>deserialization</category><category>python</category><category>picklescan</category></item><item><title>CVE-2025-71356: picklescan Deserialization Vulnerability Leads to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71356-picklescan-deserialization/</link><pubDate>Sat, 04 Jul 2026 02:23:01 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71356-picklescan-deserialization/</guid><description>A critical deserialization vulnerability (CVE-2025-71356) in `picklescan` versions prior to 0.0.28 allows attackers to embed undetected malicious code within Python pickle files, leading to remote code execution when these files are loaded by victims.</description><content:encoded><![CDATA[<p>CVE-2025-71356 describes a critical deserialization vulnerability impacting <code>picklescan</code> versions before 0.0.28. This vulnerability arises because the library fails to properly detect malicious <code>torch.fx.experimental.symbolic_shapes.ShapeEnv.evaluate_guards_expression</code> function calls embedded within Python pickle files. Attackers can leverage this flaw to craft specially designed pickle files that, when loaded by a victim's application utilizing <code>picklescan</code>, execute arbitrary code. The issue allows for pre-payload code execution without detection, bypassing the intended security scanning capabilities of <code>picklescan</code>. This could allow threat actors to deliver malware, establish persistence, or exfiltrate data through seemingly benign data files, posing a significant risk to machine learning and data science environments that frequently exchange <code>pickle</code> files.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious Python <code>pickle</code> file containing a specially constructed <code>torch.fx.experimental.symbolic_shapes.ShapeEnv.evaluate_guards_expression</code> call that includes arbitrary code.</li>
<li>The attacker delivers this malicious <code>pickle</code> file to a target system, potentially via email, compromised data repositories, or untrusted downloads.</li>
<li>A Python application on the victim's system attempts to load or process the <code>pickle</code> file.</li>
<li>If the <code>picklescan</code> library is used to scan the file for malicious content, it fails to detect the embedded arbitrary code within the <code>torch.fx.experimental.symbolic_shapes.ShapeEnv.evaluate_guards_expression</code> call.</li>
<li>During the standard Python <code>pickle</code> deserialization process, the vulnerable <code>evaluate_guards_expression</code> call is executed.</li>
<li>The embedded arbitrary code payload is then executed on the victim's system, leading to remote code execution, granting the attacker control over the compromised system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2025-71356 can lead to complete system compromise through remote code execution. Victims, particularly those in data science, machine learning, and AI sectors that frequently handle <code>pickle</code> files from various sources, are at risk. Attackers could exploit this to deploy ransomware, establish backdoors, steal sensitive intellectual property, or use the compromised system as a pivot point for further network penetration. The undetected nature of the malicious code within the pickle file bypasses security controls, making this a high-impact vulnerability.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>picklescan</code> to version 0.0.28 or later immediately to mitigate CVE-2025-71356.</li>
<li>Implement strict input validation and source verification for all Python <code>pickle</code> files loaded in your environment, especially those originating from untrusted sources, even after upgrading <code>picklescan</code>.</li>
<li>Review your software supply chain for components that use or process <code>pickle</code> files to identify and update any vulnerable instances of <code>picklescan</code>.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>deserialization</category><category>python</category><category>vulnerability</category><category>rce</category><category>machine-learning</category></item><item><title>CVE-2025-71353: Picklescan Deserialization Vulnerability Leads to Remote Code Execution</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71353-picklescan-rce/</link><pubDate>Sat, 04 Jul 2026 02:22:16 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71353-picklescan-rce/</guid><description>Picklescan before version 0.0.28 contains a deserialization vulnerability where it fails to properly detect malicious pickle files. Attackers can craft these files with embedded code that exploits the `torch._dynamo.guards.GuardBuilder.get` function in reduce methods, leading to arbitrary command execution when loaded on a victim system.</description><content:encoded><![CDATA[<p>CVE-2025-71353 details a critical deserialization vulnerability affecting <code>picklescan</code> versions prior to 0.0.28. <code>picklescan</code> is a tool designed to identify and mitigate malicious Python pickle files. However, this vulnerability allows attackers to craft specially designed pickle files that leverage the <code>torch._dynamo.guards.GuardBuilder.get</code> function within Python's <code>reduce</code> methods. These crafted files contain embedded arbitrary commands that <code>picklescan</code> fails to detect. Consequently, if such a file is subsequently loaded by an application, the malicious code can execute on the victim's system, leading to remote code execution (RCE). This vulnerability poses a significant risk to systems that process untrusted pickle files, as the security scanner intended to protect them can be bypassed.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Attacker crafts malicious pickle file:</strong> An attacker generates a Python pickle file containing serialized data that, when deserialized, exploits the <code>torch._dynamo.guards.GuardBuilder.get</code> function in its <code>reduce</code> methods to embed arbitrary commands.</li>
<li><strong>Distribution of malicious pickle file:</strong> The attacker distributes this malicious pickle file to a victim, potentially via email attachments, compromised package repositories, or direct downloads.</li>
<li><strong>Victim scans file with <code>picklescan</code>:</strong> The victim system, or an application interacting with the file, uses <code>picklescan</code> (version prior to 0.0.28) to scan the received pickle file for malicious content.</li>
<li><strong><code>picklescan</code> fails detection:</strong> Due to the flaw described in CVE-2025-71353, <code>picklescan</code> fails to identify the embedded malicious payload within the specially crafted pickle file, deeming it safe.</li>
<li><strong>Malicious pickle file is loaded:</strong> An application on the victim's system, trusting the scan results or lacking further validation, proceeds to load and deserialize the now &quot;clean&quot; malicious pickle file.</li>
<li><strong>Arbitrary Command Execution:</strong> During the deserialization process, the embedded arbitrary commands are executed in the context of the vulnerable application, leading to remote code execution on the victim's system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2025-71353 leads to remote code execution (RCE) on the compromised system. This grants attackers the ability to execute arbitrary commands, potentially leading to full system compromise, data theft, data alteration, or the deployment of further malware. The vulnerability has a CVSS v3.1 base score of 8.1 (High), reflecting high impacts on confidentiality and integrity, as attackers can bypass an intended security control to achieve their objectives. All applications and users relying on <code>picklescan</code> for validating Python pickle files are at risk if running affected versions.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>picklescan</code> to version 0.0.28 or later immediately to remediate CVE-2025-71353.</li>
<li>Review and update any systems or applications that use <code>picklescan</code> to scan incoming pickle files to ensure they are using the patched version.</li>
<li>Implement strong input validation and integrity checks for all deserialized data, especially from untrusted sources, even after scanning.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>deserialization</category><category>rce</category><category>python</category><category>vulnerability</category><category>CVE-2025-71353</category></item></channel></rss>