Description
MONAI before 1.5.2 contains a deserialization of untrusted data vulnerability in the algo_from_pickle function in monai/auto3dseg/utils.py. The function reads a .pkl file and passes its contents to pickle.loads without validating the data source or content. If an application invokes algo_from_pickle on an attacker-supplied pickle file, an object defining __reduce__ is executed during deserialization, resulting in arbitrary code execution in the context of the application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Project-MONAI | MONAI | < 1.5.2 | 1.5.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | monai | < 1.6.0 | 1.6.0 | GHSA-89gg-p5r5-q6r4 |
| PyPI | monai | < 1.5.2 | 1.5.2 | PYSEC-2026-4021 |
References
- GitHub Security Advisory (GHSA-89gg-p5r5-q6r4) vendor-advisory
- VulnCheck Advisory: MONAI before 1.5.2 Remote Code Execution via Pickle Deserialization third-party-advisory