Security mailing lists by PureSourceCode

CVE-2025-58756

HIGH 8.8CVSS 3.1

MONAI: Unsafe torch usage may lead to arbitrary code execution

MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. In versions up to and including 1.5.0, in model_dict = torch.load(full_path, map_location=torch.device(device), weights_only=True) in monai/bundle/scripts.py , weights_only=True is loaded securely. However, insecure loading methods still exist elsewhere in the project, such as when loading checkpoints. This is a common practice when users want to reduce training time and costs by loading pre-trained models downloaded from other platforms. Loading a checkpoint containing malicious content can trigger a deserialization vulnerability, leading to code execution. As of time of publication, no known fixed versions are available.

Published
9 Sep 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-502
Also known as
GHSA-6vm5-6jv9-rjpjPYSEC-2025-141
Sources
NVDJSONOSV GHSA-6vm5-6jv9-rjpjJSONOSV PYSEC-2025-141JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD monai medical_open_network_for_ai
cpe:2.3:a:monai:medical_open_network_for_ai:*:*:*:*:*:*:*:*
<= 1.5.0
OSV PyPI monai < 1.5.1 1.5.1
OSV PyPI monai < 1.5.1rc1 1.5.1rc1

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Sep 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Sep 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.