Vulnerability DatabaseGHSA-6vqj-c2q5-j97w

GHSA-6vqj-c2q5-j97w
Python vulnerability analysis and mitigation

Overview

A security vulnerability was identified in picklescan (pip package) affecting versions prior to 0.0.29, tracked as GHSA-6vqj-c2q5-j97w. The vulnerability involves a missing detection capability when calling the built-in Python profile.Profile.runctx function, which could allow attackers to bypass security checks and execute malicious code through pickle files. The issue was discovered and disclosed on August 26, 2025, affecting organizations and individuals relying on picklescan for detecting malicious pickle files in PyTorch models (GitHub Advisory).

Technical details

The vulnerability stems from picklescan's inability to detect potentially dangerous calls to profile.Profile.runctx, a built-in Python library function. Attackers can craft a payload by implementing a reduce method that returns the Profile.runctx function along with malicious code as arguments. When the pickle file is loaded after passing picklescan's security checks, it can lead to remote code execution. The vulnerability has been assigned a Moderate severity rating (GitHub Advisory).

Impact

The vulnerability impacts any organization or individual using picklescan to detect malicious pickle files within PyTorch models. Attackers can exploit this weakness to embed malicious code in pickle files that remain undetected by the security scanner but execute when loaded. This creates potential for supply chain attacks where infected pickle files could be distributed across machine learning models, APIs, or saved Python objects (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in picklescan version 0.0.29. Users are advised to upgrade to this version or later to address the security issue. The fix includes adding profile.Profile.runctx to the list of dangerous functions that picklescan detects (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23528MEDIUM5.3
  • PythonPython
  • distributed
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management