Vulnerability DatabaseGHSA-4whj-rm5r-c2v8

GHSA-4whj-rm5r-c2v8
Python vulnerability analysis and mitigation

Overview

A moderate severity vulnerability was identified in picklescan versions prior to 0.0.30, tracked as GHSA-4whj-rm5r-c2v8. The vulnerability stems from picklescan's failure to detect potentially malicious calls to the PyTorch function torch.utils.bottleneck.main.runautogradprof. This security flaw was discovered and disclosed on August 26, 2025, affecting organizations and individuals who rely on picklescan for detecting malicious pickle files within PyTorch models (GitHub Advisory).

Technical details

The vulnerability allows attackers to bypass picklescan's security checks by crafting a payload that utilizes the torch.utils.bottleneck.main.runautogradprof function. The exploit involves creating a malicious class with a reduce method that returns the runautogradprof function along with arbitrary code execution parameters. When the pickle file is loaded after passing picklescan's checks, it can execute arbitrary commands on the victim's system (GitHub Advisory).

Impact

The vulnerability's impact is significant for organizations using picklescan as a security tool. Attackers can create malicious pickle files that evade detection while maintaining the ability to execute arbitrary code when loaded. This creates potential for supply chain attacks where infected pickle files could be distributed across machine learning models, APIs, and saved Python objects (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in picklescan version 0.0.30. Users are strongly advised to upgrade to this version or later. The fix includes adding the runautogradprof function to the list of detected dangerous functions in the scanner (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

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