CyberRota Analysis
AI-GeneratedMONAI 1.6.0 contains a vulnerability in its PersistentDataset component that allows local users with write access to a shared cache directory to inject malicious pickle files. This can lead to arbitrary code execution when another user’s MONAI pipeline reads the compromised cache. Organizations using MONAI, particularly in shared environments, should prioritize addressing this vulnerability due to its potential for exploitation and the lack of a patched version.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
In MONAI 1.6.0, PersistentDataset (monai/data/dataset.py) explicitly rejects the combination track_meta=True with weights_only=True, forcing users who cache MetaTensors (the default tensor type in MONAI >= 1.0) to run torch.load(hashfile, weights_only=False). Related cache helpers in monai/data/utils.py also call pickle.loads on cached content and derive cache keys with hashlib.md5. As a result, a local user with write access to a shared or world-writable cache_dir (e.g. /tmp/monai_cache, HPC scratch, ~/.cache/monai) can place a malicious pickle file that is deserialized the next time another user's MONAI pipeline reads the cache, resulting in arbitrary code execution in that user's context. All released versions of the monai pip package are affected; no patched version is available as of the advisory.
Related CVEs
Other vulnerabilities affecting the same vendor(s)