# PYSEC-2026-4021: MONAI before 1.5.2 contains a deserialization of untrusted data vulnerability in the algo\_from\_pickle function in monai/auto3dseg/utils.py

- Database: PyPA
- Published: 2026-09-27
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-100846](https://cve.now/CVE-2026-100846.md): MONAI before 1.5.2 Remote Code Execution via Pickle Deserialization

## Also published as

- [GHSA-89GG-P5R5-Q6R4](https://cve.now/GHSA-89GG-P5R5-Q6R4.md) (GitHub)

## Affected versions

- monai (PyPI): fixed in 1.5.2

## 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.

## References

- https://www.vulncheck.com/advisories/monai-before-1.5.2-remote-code-execution-via-pickle-deserialization
- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-89gg-p5r5-q6r4

Page: https://cve.now/PYSEC-2026-4021

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
