Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100845 Overview
CVE-2026-100845 is an unsafe deserialization vulnerability in MONAI (Medical Open Network for AI) versions prior to 1.6.0. The flaw resides in the NumpyReader class, which unconditionally invokes numpy.load with allow_pickle=True when processing .npy and .npz files. Attackers can craft malicious NumPy files containing pickle payloads that execute arbitrary code during routine data loading through MONAI's standard pipeline. The weakness is tracked under CWE-502: Deserialization of Untrusted Data.
Critical Impact
Arbitrary code execution occurs when MONAI loads attacker-controlled .npy or .npz files, enabling full compromise of medical imaging workflows and training environments.
Affected Products
- Project-MONAI MONAI versions before 1.6.0
- Any medical imaging pipeline consuming .npy or .npz files via NumpyReader
- Downstream ML workloads and notebooks importing MONAI data loaders
Discovery Timeline
- 2026-09-27 - CVE-2026-100845 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-100845
Vulnerability Analysis
MONAI is an open source framework for deep learning in healthcare imaging. Its NumpyReader class handles ingestion of NumPy array files commonly used to store preprocessed medical imaging tensors. The reader calls numpy.load with the allow_pickle=True option on every input file without validating provenance or content.
numpy.load with pickle enabled deserializes arbitrary Python objects. The pickle protocol allows objects to define a __reduce__ method that returns a callable and its arguments, which Python executes during deserialization. An attacker who places a crafted file into any dataset path consumed by MONAI triggers code execution in the Python interpreter that loaded the file.
Exploitation requires local file access or the ability to influence dataset content, and user interaction is needed to trigger the data pipeline. The resulting code runs with the privileges of the training or inference process, which frequently includes access to protected health information, GPU resources, and credentials for cloud storage buckets.
Root Cause
The root cause is the hardcoded allow_pickle=True flag inside NumpyReader. The class never checks file signatures, enforces an allowlist, or exposes a safer default. Any .npy or .npz input is treated as trusted, violating the principle that deserialization must be restricted to known-safe data sources.
Attack Vector
An attacker stages a malicious .npy file in a dataset directory, cloud bucket, or shared research repository that a MONAI user later references in a Dataset or DataLoader. When the pipeline invokes NumpyReader, pickle deserialization executes the embedded payload. The payload runs inside the data science workstation, Jupyter kernel, or training container, inheriting its network access and secrets.
Technical details and reproduction notes are documented in the GitHub Security Advisory GHSA-wg9g-w2j2-8pgr and the VulnCheck Advisory on MONAI.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-100845
Indicators of Compromise
- Unexpected child processes spawned by Python interpreters running MONAI workloads, including shells, curl, wget, or compilers.
- Outbound network connections from training nodes to unknown IP addresses immediately after dataset loads.
- .npy or .npz files containing pickle opcodes such as c__builtin__ or R (REDUCE) in header bytes.
- Modifications to SSH keys, cron jobs, or Python startup files on ML workstations and container images.
Detection Strategies
- Inspect dataset directories with python -c "import pickletools; pickletools.dis(open(f,'rb').read())" to identify suspicious opcodes in NumPy files.
- Hook numpy.load in audited environments and log every call with its allow_pickle argument and caller stack.
- Correlate process-creation telemetry from Python with dataset read events to catch anomalous execution paths.
Monitoring Recommendations
- Enable detailed process and file-access logging on hosts running MONAI training or inference pipelines.
- Alert on new outbound connections initiated from Jupyter kernels, Airflow workers, or Kubeflow pods.
- Track MONAI package versions across all research environments and flag installations below 1.6.0.
How to Mitigate CVE-2026-100845
Immediate Actions Required
- Upgrade MONAI to version 1.6.0 or later across all workstations, training clusters, and container images.
- Audit dataset repositories for .npy and .npz files from untrusted or unverified sources and quarantine suspect files.
- Restrict write access to shared dataset directories and enforce code review on dataset contributions.
Patch Information
Project-MONAI addressed the vulnerability in release 1.6.0. Users should install the fixed version with pip install --upgrade monai>=1.6.0 and rebuild any container images that pin earlier versions. Refer to the GitHub Security Advisory for complete remediation guidance.
Workarounds
- Replace calls to NumpyReader with custom loaders that invoke numpy.load(path, allow_pickle=False) when upgrading is not immediately possible.
- Convert existing .npy and .npz artifacts to formats that do not support arbitrary object serialization, such as HDF5 or safetensors.
- Run MONAI pipelines inside sandboxed containers with minimal privileges, no outbound network access, and read-only dataset mounts.
# Upgrade MONAI to a fixed release
pip install --upgrade "monai>=1.6.0"
# Verify the installed version
python -c "import monai; print(monai.__version__)"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

