{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-58756","id":"CVE-2025-58756","title":"MONAI's unsafe torch usage may lead to arbitrary code execution","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 exist elsewhere in the project, such as when loading checkpoints. This is a comm","descriptionLong":"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":"2025-09-08T23:39:55.508Z","updated":"2026-10-28T02:30:37.430739298Z","reserved":"2025-09-04T19:18:09.499Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Project-MONAI MONAI"],"affectedProducts":[{"vendor":"Project-MONAI","product":"MONAI","defaultStatus":null,"versions":[{"version":"<= 1.5.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"monai","purl":"pkg:pypi/monai","ranges":["<1.5.1","<1.5.1rc1"],"fixed":["1.5.1","1.5.1rc1"],"advisory":"GHSA-6vm5-6jv9-rjpj"}],"cwes":["CWE-502"],"aliases":["GHSA-6vm5-6jv9-rjpj","PYSEC-2025-141"],"references":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-6vm5-6jv9-rjpj","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web","evidence"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58756.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58756","tags":["advisory"]},{"url":"https://github.com/Project-MONAI/MONAI/pull/8566","tags":["web"]},{"url":"https://github.com/Project-MONAI/MONAI/commit/948fbb703adcb87cd04ebd83d20dcd8d73bf6259","tags":["web"]},{"url":"https://github.com/Project-MONAI/MONAI","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/monai/PYSEC-2025-141.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0075,"epssPercentile":0.55755,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-58756","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58756","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-58756","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6vm5-6jv9-rjpj","ok":true,"note":"GHSA-6vm5-6jv9-rjpj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-58756","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}