CVE-2025-71348

picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass

Published Jun 21, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
Description
picklescan before 0.0.28 fails to detect malicious pickle files that invoke torch.utils._config_module.load_config function within reduce methods. Attackers can craft pickle files embedding arbitrary code that evades detection but executes during pickle.load, enabling remote code execution in supply chain attacks.

Analysis

AI-generated

Technical impact

Picklescan before version 0.0.28 fails to detect malicious pickle files that use torch.utils._config_module.load_config inside reduce methods. Attackers can craft pickle files that embed arbitrary code that bypasses scan checks and executes during pickle.load, allowing remote code execution in supply chain attacks. This is a classic deserialization vulnerability (CWE-502) that can compromise confidentiality, integrity, and availability of systems that rely on picklescan for dependency validation.

Affected Systems

The vulnerability affects the picklescan product from the vendor picklescan. All releases prior to version 0.0.28 are impacted. Users running earlier versions of the tool are at risk if they process untrusted pickle input.

Risk and Exploitability

With a CVSS score of 7.6, the technical impact is high, but EPSS data is not available to gauge likelihood. The weakness is not currently listed in the CISA KEV catalog, indicating no publicly known exploitation data at this time. The likely attack vector is supply‑chain or direct injection of malicious pickle payloads into environments where picklescan is invoked to load dependency data. An attacker can deliver a crafted pickle to the scan process, which will trigger execution of arbitrary code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade picklescan to version 0.0.28 or later to contain the fix.
  • If an upgrade cannot be performed immediately, run picklescan only on pickle files that are verified as trusted and do not accept external payloads from untrusted sources.
  • Consider switching to an alternative dependency‑scanning tool that does not rely on Python pickles, or add an integrity check to detect malicious pickle content before it is processed.

Generated by OpenCVE AI on June 21, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vv6j-3g6g-2pvj Picklescan is missing detection when calling pytorch function torch.utils._config_module.load_config
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Picklescan
Picklescan picklescan
Vendors & Products Picklescan
Picklescan picklescan
Type Values Removed Values Added
Description picklescan before 0.0.28 fails to detect malicious pickle files that invoke torch.utils._config_module.load_config function within reduce methods. Attackers can craft pickle files embedding arbitrary code that evades detection but executes during pickle.load, enabling remote code execution in supply chain attacks.
Title picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config 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'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:00 PM
Reserved
Jun 20, 2026, 12:48 PM
Status
Analyzed
Published
Jun 21, 2026, 2:16 PM
Modified
Oct 12, 2026, 10:10 PM