HighVulnerability
GHSA-wg9g-w2j2-8pgr: MONAI: Unsafe deserialization in NumpyReader allows arbitrary code execution via malicious .npy files
- Identifier
- GHSA-wg9g-w2j2-8pgr
- Published
- Record updated
- Affected
- monai < 1.6.0
- Fixed in
- 1.6.0
- released June 22, 2026, 57 days before disclosure
Summary
The NumpyReader class in monai/data/image_reader.py calls np.load(name, allow_pickle=True) at line 1276, so loading a crafted .npy or .npz file can execute arbitrary code. The source states this affects all MONAI versions up to and including the latest commit (5b71547), and that users cannot override allow_pickle because it is hardcoded to True. LoadImage selects NumpyReader automatically for .npy and .npz files, so standard MONAI data pipelines are exposed.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- HighCVE-2026-134172: audio-separator insecure deserialization of malicious Demucs model filesSimilar attack · NVD/CVE Database
- MediumCVE-2026-133836: hankcs HanLP deserialization via model_file in RNNLanguageModelSimilar attack · NVD/CVE Database
- MediumCVE-2026-128136: NLTK pickle loading lets crafted models read or truncate local filesSimilar attack · NVD/CVE Database
- HighCVE-2026-76818: Axon rtkx bootstrap runs unverified downloaded binarySimilar attack · NVD/CVE Database
- MediumMicrosoft’s Agent Framework PyPI package compromised to steal credentialsSimilar attack · BleepingComputer