# PYSEC-2026-4020: 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

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

## Tracked as

- [CVE-2026-100845](https://cve.now/CVE-2026-100845.md): MONAI before 1.6.0 Remote Code Execution via NumpyReader

## Also published as

- [GHSA-WG9G-W2J2-8PGR](https://cve.now/GHSA-WG9G-W2J2-8PGR.md) (GitHub)

## Affected versions

- monai (PyPI): fixed in 1.6.0

## Description

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.

## References

- https://www.vulncheck.com/advisories/monai-before-1.6.0-remote-code-execution-via-numpyreader
- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-wg9g-w2j2-8pgr

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

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