PyPA Advisory Database
PYSEC-2026-4018
Details
MONAI versions before 1.6.0 contain a remote code execution vulnerability in the algo_from_pickle() function due to unsafe pickle.loads() deserialization in monai/auto3dseg/utils.py. Attackers can craft malicious pickle files that execute arbitrary system commands when deserialized by the vulnerable function.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | monai | All versions before 1.6.0 (fixed in 1.6.0) |