Vulnerability DatabaseGHSA-4r9r-ch6f-vxmx

GHSA-4r9r-ch6f-vxmx
Python vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-4r9r-ch6f-vxmx) affects the picklescan library versions 0.0.27 and earlier, which fails to detect potentially malicious code when the PyTorch function torch.utils.bottleneck.main.run_cprofile is used. The vulnerability was discovered and reported by FredericDT, and was patched in version 0.0.28 released on August 22, 2025 (GitHub Release).

Technical details

The vulnerability stems from picklescan's inability to identify the torch.utils.bottleneck.main.runcprofile function as potentially dangerous. Attackers can craft a malicious payload by implementing a _reduce__ method that calls this function, which can then be used to execute arbitrary code. The vulnerability has been assigned a Moderate severity rating (GitHub Advisory).

Impact

The vulnerability affects any organization or individual using picklescan to detect malicious pickle files within PyTorch models. Attackers can exploit this vulnerability to embed malicious code in pickle files that remain undetected by picklescan but execute when the pickle file is loaded. This can potentially lead to supply chain attacks where infected pickle files are distributed across machine learning models, APIs, and saved Python objects (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to picklescan version 0.0.28 or later, which includes patches for this vulnerability. The fix involves adding torch.utils.bottleneck.main.run_cprofile to the list of dangerous functions that picklescan detects (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-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 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