---
id: GHSA-5gp7-4733-2w2v
title: 'Duplicate Advisory: Picklescan Bypasses Unsafe Globals Check using pty.spawn'
summary: 'Duplicate Advisory: Picklescan Bypasses Unsafe Globals Check using pty.spawn'
severity: high
cvss: 8.8
cwe:
  - CWE-693
vendor: picklescan
product: picklescan
ecosystem: pip
affected:
  - picklescan < 0.0.33
published: '2026-06-17'
updated: '2026-06-18'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-5gp7-4733-2w2v'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71322'
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-unsafe-globals-check-bypass-via-pty-spawn-function
  - url: 'https://github.com/advisories/GHSA-5gp7-4733-2w2v'
tags:
  - ghsa
  - pip
ingestedAt: '2026-06-29T14:31:47.200Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-hgrh-qx5j-jfwx. This link is maintained to preserve external references.

## Original Description

PickleScan before 0.0.33 fails to include the pty.spawn function in its unsafe globals list, allowing attackers to bypass security checks. Malicious actors can craft pickle payloads using pty.spawn to achieve arbitrary code execution when files are processed by PickleScan.

## Affected packages

- `picklescan < 0.0.33`

## Remediation

Refer to the advisory for the patched release.
