Vulnerability DatabaseGHSA-fj43-3qmq-673f

GHSA-fj43-3qmq-673f
Python vulnerability analysis and mitigation

Overview

A vulnerability (GHSA-fj43-3qmq-673f) was discovered in Picklescan versions below 0.0.25, where the library failed to detect unsafe global functions in the Numpy library. This vulnerability allows attackers to bypass static analysis tools and execute arbitrary code during deserialization. The issue was published on April 6, 2025, affecting the Python package picklescan on pip, with version 0.0.25 released as the patched version (GitHub Advisory).

Technical details

The vulnerability exploits Python's pickle module's deserialization process through the reduce method. The attack specifically leverages the runstring function in numpy.testing._private.utils, which can indirectly call dangerous functions like exec(). Since Numpy library wasn't included in the unsafe globals blacklist, Picklescan failed to detect this as a security threat. The vulnerability has been assigned a CVSS score of 5.3 (Moderate severity) with attack vector being Network, attack complexity Low, and requiring Passive user interaction (GitHub Advisory).

Impact

The vulnerability primarily affects organizations and individuals relying on Picklescan to detect malicious pickle files within PyTorch models, including projects like Invoke-AI. Attackers can embed malicious code in pickle files that remain undetected but execute when loaded. This enables potential supply chain attacks where infected pickle files can be distributed across ML models, APIs, or saved Python objects (GitHub Advisory).

Mitigation and workarounds

The recommended fix is to upgrade to Picklescan version 0.0.25 or later. Additionally, the developers suggest adding the Numpy library to the unsafe globals blacklist to prevent similar vulnerabilities (GitHub Advisory).

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

CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-66470MEDIUM6.1
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-66469MEDIUM6.1
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 09, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

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