---
id: CVE-2025-71348
title: >-
  picklescan before 0.0.28 fails to detect malicious pickle files that invoke
  torch.utils._config_module.load_config function within reduce methods
summary: >-
  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 execut…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-502
  - CWE-345
vendor: mmaitre314
product: picklescan
affected:
  - picklescan < 0.0.28
patched:
  - picklescan 0.0.28
published: '2026-06-21'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T16:10:00.443'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71348'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-vv6j-3g6g-2pvj
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-torch-utils-config-module-load-config-bypass
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-vv6j-3g6g-2pvj
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71348'
  - url: 'https://github.com/mmaitre314/picklescan/pull/47'
  - url: >-
      https://github.com/mmaitre314/picklescan/commit/7f994d62084fe43f1cffdef2f9bae6923344ef53
  - url: 'https://github.com/mmaitre314/picklescan'
  - url: 'https://github.com/mmaitre314/picklescan/releases/tag/v0.0.28'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2026-245.yaml
  - url: 'https://github.com/advisories/GHSA-vv6j-3g6g-2pvj'
tags:
  - nvd
  - osv
  - pip
  - ghsa
epss: 0.00554
epssPercentile: 0.4636
aliases:
  - GHSA-vv6j-3g6g-2pvj
  - PYSEC-2026-245
ecosystem: pip
ingestedAt: '2026-09-11T19:57:09.309Z'
---

## Overview

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.

## Affected

- `picklescan < 0.0.28`

## Remediation

Upgrade past the affected range:

- `picklescan 0.0.28`

## Package advisory (CVE-2025-71348)

Affected packages:

- `picklescan < 0.0.28`

Patched in:

- `picklescan 0.0.28`

Source: https://osv.dev/vulnerability/GHSA-vv6j-3g6g-2pvj
