---
id: GHSA-4mpj-78p6-rj59
title: >-
  Duplicate Advisory: PickleScan's profile.run blocklist mismatch allows exec()
  bypass
summary: >-
  Duplicate Advisory: PickleScan's profile.run blocklist mismatch allows exec()
  bypass
severity: critical
cvss: 9.8
cwe:
  - CWE-184
vendor: picklescan
product: picklescan
ecosystem: pip
affected:
  - picklescan < 1.0.4
published: '2026-06-17'
updated: '2026-06-18'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-4mpj-78p6-rj59'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-7wx9-6375-f5wh
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53873'
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-profile-run-blocklist-bypass
  - url: 'https://github.com/advisories/GHSA-4mpj-78p6-rj59'
tags:
  - ghsa
  - pip
ingestedAt: '2026-06-29T14:31:47.193Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-7wx9-6375-f5wh. This link is maintained to preserve external references.

## Original Description
picklescan before 1.0.4 contains an incomplete blocklist for the profile module that fails to block the module-level profile.run() function, allowing attackers to achieve arbitrary code execution via exec(). Attackers can craft malicious pickle files calling profile.run(statement) to execute arbitrary Python code while picklescan reports zero security issues.

## Affected packages

- `picklescan < 1.0.4`

## Remediation

Refer to the advisory for the patched release.
