HIGH8.5
PYSEC-2026-4020
Quick fix
PYSEC-2026-4020 — monai: upgrade to the fixed version with the command below.
pip install --upgrade 'monai>=1.6.0'Details
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.
Are you affected?
Enter the version of the package you're using.