---
id: GHSA-mq7r-vm99-p7vx
title: >-
  Duplicate Advisory : Picklescan is missing detection when calling built-in
  python idlelib.pyshell.ModifiedInterpreter.runcode
summary: >-
  Duplicate Advisory : Picklescan is missing detection when calling built-in
  python idlelib.pyshell.ModifiedInterpreter.runcode
severity: high
cvss: 8.1
cwe:
  - CWE-502
vendor: picklescan
product: picklescan
ecosystem: pip
affected:
  - picklescan < 0.0.30
patched:
  - picklescan 0.0.30
published: '2026-06-26'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T17:37:07Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-mq7r-vm99-p7vx'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71340'
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-idlelib-pyshell-modifiedinterpreter-runcode
  - url: 'https://github.com/advisories/GHSA-mq7r-vm99-p7vx'
tags:
  - ghsa
  - pip
ingestedAt: '2026-11-03T17:50:48.249Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-3gf5-cxq9-w223. This link is maintained to preserve external references.

### Original Description
picklescan through 0.0.26 fails to detect malicious pickle files that invoke idlelib.pyshell.ModifiedInterpreter.runcode in __reduce__ methods. Attackers can embed undetected code in pickle files that executes arbitrary commands when the file is loaded via pickle.load(), enabling supply chain attacks on PyTorch models and saved Python objects. This is fixed in version 0.0.30.

## Affected packages

- `picklescan < 0.0.30`

## Remediation

Upgrade to a patched release:

- `picklescan 0.0.30`
