Description
picklescan before 0.0.29 fails to detect malicious pickle files using code.InteractiveInterpreter.runcode in reduce methods. Attackers can craft pickle payloads that bypass picklescan detection and execute arbitrary code when loaded via pickle.load().
Published: 2026-06-30
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in picklescan allows an attacker to inject a specially crafted pickle payload that bypasses the tool’s attempt to detect malicious code using the InteractiveInterpreter.runcode method during reduction processing. When a vulnerable application loads a pickle file with pickle.load(), the malicious code executes, giving the attacker arbitrary code execution on the host system. This reflects a classic deserialization flaw described by CWE-502, jeopardizing confidentiality, integrity, and availability of affected installations.

Affected Systems

The affected product is picklescan developed by mmaitre314. Any instance of picklescan with a version earlier than 0.0.29 is susceptible. The vulnerability is present in the Python library that supplies the picklescan package and is commonly used by developers to scan or validate pickle objects.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity of exploitation. Because EPSS data is unavailable and the vulnerability is not listed in the CISA KEV catalog, the likelihood of a discovered exploit in the wild is uncertain, but the feasibility of exploitation is high for applications that allow external pickle input. If an attacker can supply a pickle file to a vulnerable system, they can achieve full code execution; the attack vector is therefore likely remote, via file upload or untrusted data ingestion, in applications that rely on picklescan without additional safeguards.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade picklescan to version 0.0.29 or higher, which includes a patch for the InteractiveInterpreter detection bypass.
  • If an upgrade is not immediately possible, restrict the use of pickle.load to data that has been fully validated or trusted, and consider replacing pickle with safer serialization mechanisms.
  • Configure the environment to prevent the InteractiveInterpreter or other code execution interfaces from being exposed to untrusted data, such as disabling the InteractiveInterpreter module in the application’s execution context.
  • Implement monitoring for anomalous code execution events or modifications that may indicate exploitation of deserialization vulnerabilities.

Generated by OpenCVE AI on June 30, 2026 at 23:52 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 malicious pickle files using code.InteractiveInterpreter.runcode in reduce methods. Attackers can craft pickle payloads that bypass picklescan detection and execute arbitrary code when loaded via pickle.load().
Title picklescan - Remote Code Execution via code.InteractiveInterpreter Detection Bypass
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:07:18.792Z

Reserved: 2026-06-20T13:01:42.505Z

Link: CVE-2025-71371

cve-icon Vulnrichment

Updated: 2026-07-01T14:06:32.234Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T04:15:16Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data