{
  "id": "CVE-2025-58756",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58756",
  "published_at": "2025-09-08T23:39:55.508Z",
  "title": "MONAI's unsafe torch usage may lead to arbitrary code execution",
  "vendor": "Project-MONAI",
  "product": "MONAI",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 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.",
  "cwe": "CWE-502",
  "cpes": [
    "cpe:2.3:a:monai:medical_open_network_for_ai:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Project-MONAI",
        "product": "MONAI",
        "ranges": [
          "\u003c= 1.5.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "monai",
        "ranges": [
          "\u003c 1.5.1"
        ],
        "fixed_in": [
          "1.5.1"
        ],
        "ecosystem": "PyPI",
        "advisory": "GHSA-6vm5-6jv9-rjpj"
      }
    ],
    "upgrade": [
      "Upgrade monai to 1.5.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-6vm5-6jv9-rjpj"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
