VDB
Sign up
HIGH8.8

PYSEC-2026-4021

Quick fix

PYSEC-2026-4021 — monai: upgrade to the fixed version with the command below.

pip install --upgrade 'monai>=1.5.2'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/monai
Introduced in: 0Fixed in: 1.5.2
Fixpip install --upgrade 'monai>=1.5.2'

References