{"id":69760,"date":"2025-09-09T04:32:20","date_gmt":"2025-09-09T01:02:20","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-58756-monais-unsafe-torch-usage-may-lead-to-arbitrary-code-execution\/"},"modified":"2025-09-09T04:32:20","modified_gmt":"2025-09-09T01:02:20","slug":"cve-2025-58756-monais-unsafe-torch-usage-may-lead-to-arbitrary-code-execution","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-58756-monais-unsafe-torch-usage-may-lead-to-arbitrary-code-execution\/","title":{"rendered":"CVE-2025-58756 &#8211; MONAI&#8217;s unsafe torch usage may lead to arbitrary code execution"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-58756<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 9, 2025, 12:15 a.m. | 39\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 8.8 | HIGH<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-58756 Published : Sept. 9, 2025, 12:15 a.m. | 39\u00a0minutes ago Description : 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-69760","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=69760"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69760\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=69760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=69760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=69760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}