Skip to content

CVE-2026-100841 MONAI through 1.6.0 PersistentDataset Remote Code Execution via Pickle Cache

HighCVSS 8.5 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi monai <= 1.6.0 after 1.6.0 Fixed
pypi monai(PyPI) <= 1.6.0-NA after 1.6.0-NA Fixed
Project-MONAI MONAI = 1.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi monai(PyPI) <= 1.6.0-NA No fix listed
pypi monai <= 1.6.0 No fix listed
Project-MONAI MONAI = 1.6.0 No fix listed

References