{"id":"CVE-2026-100841","published":"2026-09-27T02:17:22.543","lastModified":"2026-09-30T17:50:08.300","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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-502"],"vendors":["project-monai"],"products":["monai"],"references":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-636w-j999-g7x5","tags":["Mitigation","Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/monai-1.6.0-persistentdataset-remote-code-execution-via-pickle-cache","tags":["Third Party Advisory"]}],"exploitRefs":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-636w-j999-g7x5","tags":["Mitigation","Vendor Advisory"]}],"hasPoc":true,"ai":{"summary":"The flaw allows a local user with write access to a shared cache directory to place a malicious pickle file, leading to arbitrary code execution in the context of another user's MONAI pipeline.","exploitability":"Exploitation requires write access to a shared or world-writable cache directory. The attack is relatively easy to carry out given the preconditions.","blast_radius":"If exploited, the impact is high, as it can lead to arbitrary code execution in the context of the victim's pipeline, potentially compromising the entire system.","remediation":"Disable the affected feature by setting track_meta=False and weights_only=False in PersistentDataset, or restrict access to the named cache directory.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","pickle","cache","local","arbitrary-code-execution"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-06T08:46:17.845Z"}}