Description
picklescan before 0.0.29 fails to detect the built-in trace.Trace.run function when analyzing pickle files, allowing attackers to embed undetected malicious code. Remote attackers can craft malicious pickle files using trace.Trace.run in the reduce method to achieve arbitrary code execution when pickle.load processes the file.
Published: 2026-06-30
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

picklescan versions prior to 0.0.29 fail to strip out the built‑in trace.Trace.run command when analyzing pickle files, allowing an attacker to embed malicious code inside a pickle payload. When pickle.load processes such a file, the injected code is executed, resulting in control over the host system. This flaw is a classic deserialization vulnerability (CWE-502).

Affected Systems

Users of picklescan:picklescan installation earlier than 0.0.29 are impacted; any environment that imports or loads untrusted pickle objects rendered by that version can be compromised.

Risk and Exploitability

The CVSS score of 7.6 indicates a moderate to high risk of exploitation, but the EPSS score is not available, limiting visibility into current attack likelihood. The vulnerability is not listed in the CISA KEV catalog, so no known large‑scale exploitation has been reported in the public feeds. The attack likely requires an attacker to supply a malicious pickle file to a system that processes it with picklescan; based on the description, the vector is remote or local depending on how the application accepts pickle data, so caution is advised for any service that ingests external pickles.

Generated by OpenCVE AI on June 30, 2026 at 23:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade picklescan to 0.0.29 or later to remove the trace.Trace.run processing flaw
  • If an upgrade is not immediately possible, restrict picklescan usage to strictly trusted pickle payloads and block or sanitize all external files
  • Implement input validation that detects the trace.Trace.run pattern and rejects or safely handles such payloads before they reach pickle.load

Generated by OpenCVE AI on June 30, 2026 at 23:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 01 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Jun 2026 22:45:00 +0000

Type Values Removed Values Added
Description picklescan before 0.0.29 fails to detect the built-in trace.Trace.run function when analyzing pickle files, allowing attackers to embed undetected malicious code. Remote attackers can craft malicious pickle files using trace.Trace.run in the reduce method to achieve arbitrary code execution when pickle.load processes the file.
Title picklescan - Arbitrary Code Execution via Undetected trace.Trace.run in Pickle Files
First Time appeared Mmaitre314
Mmaitre314 picklescan
Weaknesses CWE-502
CPEs cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
Vendors & Products Mmaitre314
Mmaitre314 picklescan
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.6, 'vector': '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'}


Subscriptions

Mmaitre314 Picklescan
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-01T14:05:20.085Z

Reserved: 2026-06-20T12:48:06.735Z

Link: CVE-2025-71349

cve-icon Vulnrichment

Updated: 2026-07-01T14:04:53.685Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T04:30:06Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data