Skip to main content

Duplicate Advisory: Picklescan is missing detection when calling built-in Python cProfile.runctx

0
High
Published: 06/21/2026 (06/21/2026, 15:31:23 UTC)
Source: GCVE Database
Product: picklescan

Description

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-9w88-8rmg-7g2p. This link is maintained to preserve external references. ### Original Description picklescan before 0.0.30 fails to detect cProfile.runctx function calls in pickle file reduce methods, allowing attackers to execute arbitrary code. Malicious pickle files bypass picklescan detection and execute remote code when loaded via pickle.load().

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

PyPIghsa
picklescan
Affected versions
<0.0.30

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 22:46:59 UTC

Technical Analysis

Picklescan before version 0.0.30 fails to detect the use of the cProfile.runctx function call in pickle file reduce methods. This detection failure enables attackers to craft malicious pickle files that can bypass picklescan's detection mechanisms and execute arbitrary remote code upon deserialization with pickle.load(). The vulnerability is identified as CWE-502 (Deserialization of Untrusted Data) and has a CVSS 3.1 score of 8.1, indicating high severity. A fix has been made available in versions 0.0.30 and later.

Potential Impact

Attackers can exploit this vulnerability by crafting malicious pickle files that include calls to cProfile.runctx in their reduce methods. When these pickle files are loaded with pickle.load(), arbitrary code execution can occur, potentially compromising the affected system. The vulnerability affects confidentiality and integrity but does not impact availability.

Mitigation Recommendations

Users should upgrade picklescan to version 0.0.30 or later where this detection issue has been fixed. Since a patch is available, applying the official fix is the recommended remediation. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-fcqg-3mwf-cfcf
Osv Schema Version
1.4.0
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6aa47eb955bf5e2cf585796f

Added to database: 09/11/2026, 22:20:41 UTC

Last enriched: 09/11/2026, 22:46:59 UTC

Last updated: 09/12/2026, 01:01:23 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses