CVE-2025-58756
Python vulnerability analysis and mitigation

Overview

CVE-2025-58756 affects MONAI (Medical Open Network for AI), an AI toolkit for health care imaging, in versions up to and including 1.5.0. The vulnerability stems from insecure loading methods when handling checkpoints, despite having secure loading with weights_only=True in specific parts of the codebase (GitHub Advisory).

Technical details

The vulnerability exists in the checkpoint loading functionality where insecure deserialization methods are implemented. While model_dict = torch.load(full_path, map_location=torch.device(device), weights_only=True) in monai/bundle/scripts.py is secure, other parts of the project use insecure loading methods for checkpoints. The issue is particularly concerning when users load pre-trained models downloaded from external platforms. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (GitHub Advisory).

Impact

The vulnerability can lead to arbitrary code execution when loading a checkpoint containing malicious content. This poses a significant security risk as attackers could potentially execute unauthorized commands on the affected system through carefully crafted checkpoint files (GitHub Advisory).

Mitigation and workarounds

As of the publication date, no fixed versions are available. The suggested mitigation is to use a safe method to load checkpoints or force weights_only=True when loading model data (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-58757HIGH8.8
  • PythonPython
  • monai
NoNoSep 09, 2025
CVE-2025-58756HIGH8.8
  • PythonPython
  • monai
NoNoSep 09, 2025
CVE-2025-58755HIGH8.8
  • PythonPython
  • monai
NoNoSep 09, 2025
CVE-2025-58180HIGH7.5
  • PythonPython
  • octoprint
NoYesSep 09, 2025
CVE-2025-58753MEDIUM5.3
  • PythonPython
  • copyparty
NoYesSep 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