Vulnerability DatabaseGHSA-v7x6-rv5q-mhwc

GHSA-v7x6-rv5q-mhwc
Python vulnerability analysis and mitigation

Overview

A security vulnerability (GHSA-v7x6-rv5q-mhwc) was discovered in picklescan versions below 0.0.25, where the library failed to detect malicious code execution through the built-in Python library function timeit.timeit(). The vulnerability was disclosed on April 6, 2025, and affects organizations and individuals relying on picklescan to detect malicious pickle files inside PyTorch models (GitHub Advisory).

Technical details

The vulnerability stems from picklescan's inability to detect potentially dangerous code execution when the timeit.timeit() function is called via Python's pickle deserialization process. The attack leverages the reduce method to execute arbitrary code through the timeit library, which wasn't included in picklescan's unsafe globals blacklist. The vulnerability has been assigned a CVSS v4 score of 5.3 (Moderate severity), with attack vector being Network, attack complexity Low, and requiring Passive user interaction (GitHub Advisory).

Impact

The vulnerability enables attackers to embed malicious code in pickle files that remain undetected by picklescan but execute when the pickle file is loaded. This can lead to remote code execution and potential supply chain attacks, where infected pickle files could be distributed across ML models, APIs, or saved Python objects. The impact primarily affects the integrity of the vulnerable system while maintaining no direct impact on confidentiality or availability (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in picklescan version 0.0.25 by adding the timeit library to the unsafe globals blacklist. Users are advised to upgrade to this version or later to protect against this vulnerability (GitHub Release).

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-2026-22871HIGH8.7
  • PythonPython
  • guarddog
NoYesJan 13, 2026
GHSA-58pv-8j8x-9vj2HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 13, 2026
CVE-2026-22779MEDIUM6.3
  • PythonPython
  • blacksheep
NoYesJan 14, 2026
CVE-2026-21889LOW2.3
  • PythonPython
  • weblate
NoYesJan 14, 2026
CVE-2025-68492LOW2.3
  • PythonPython
  • chainlit
NoYesJan 14, 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