Description
MONAI before 1.6.0 contains an unsafe deserialization vulnerability in the NumpyReader class that unconditionally uses numpy.load with allow_pickle=True when loading .npy and .npz files. Attackers can craft malicious .npy files with pickle payloads that execute arbitrary code when loaded through MONAI's standard data pipeline.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Project-MONAI | MONAI | < 1.6.0 | 1.6.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | monai | < 1.6.0 | 1.6.0 | GHSA-wg9g-w2j2-8pgr |
References
- GitHub Security Advisory (GHSA-wg9g-w2j2-8pgr) vendor-advisory
- VulnCheck Advisory: MONAI before 1.6.0 Remote Code Execution via NumpyReader third-party-advisory