Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .npy with pickle __reduce__ payload
-
DeliveryDeliver as dataset/model/cache file
-
ExploitVictim loads via LoadImage/NumpyReader
-
Executionnp.load(allow_pickle=True) deserializes payload
-
ImpactArbitrary code executes in victim context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim to load an attacker-supplied .npy or .npz file through MONAI's standard data pipeline (LoadImage transform or any dataset class such as PersistentDataset/CacheDataset/SmartCacheDataset, which auto-select NumpyReader for those extensions). The allow_pickle=True flag is hardcoded on image_reader.py line 1276 and cannot be disabled by the user via kwargs, so any deployment that ingests untrusted .npy/.npz files on MONAI < 1.6.0 is exposed regardless of configuration. Limiting factors: the attack vector is local (attacker must get the crafted file onto a path the victim opens) and requires user interaction (loading the file); there is no remote/network trigger and no automatic exploitation against a default service. Realistic exposure is highest where MONAI ingests externally-sourced datasets, model artifacts, or shared preprocessing caches. |
| Impact | This is a genuine remote-code-execution-class deserialization flaw (CWE-502), but the exploitation model is local/interaction-dependent rather than remotely wormable. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.5) correctly reflects that a victim must load an attacker-supplied .npy/.npz file through MONAI's data pipeline - the attack vector is local and requires passive user interaction (UI:P), so this is not an internet-facing pre-auth bug despite the high impact triad. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data, so real-world exploitation is unproven; the GHSA is a vendor code-analysis advisory, not evidence of active use. Signals are internally consistent (no conflict between CVSS and description - both point to local/interaction-gated execution). Net: a real and cleanly-confirmed code bug worth patching, but priority is moderated by the local vector, required user interaction, the niche deployment footprint of MONAI, and the availability of a fix in 1.6.0. Treat as important-for-affected-deployments rather than emergency-for-everyone. Note: absence of EPSS/KEV/POC is expected for a freshly-disclosed niche-product CVE and should not be read as low severity. |
| Exploit ScenarioDerived | An attacker distributes a malicious .npy or .npz file - e.g. as a shared medical-imaging dataset, model artifact, or preprocessing cache - that embeds a pickle payload with a __reduce__ hook. When a researcher or MONAI-based service loads it via LoadImage or any dataset class (PersistentDataset, CacheDataset, etc.), numpy.load(allow_pickle=True) deserializes the payload and executes arbitrary code in the victim's context. No public exploit code is identified at time of analysis, though the technique (pickle __reduce__ abuse) is well-documented and trivial to weaponize. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Arbitrary code execution in MONAI versions prior to 1.6.0 occurs when a crafted .npy or .npz file is loaded through the NumpyReader class, which hardcodes numpy.load with allow_pickle=True. An unauthenticated attacker who can place a malicious file on a path the victim opens can trigger pickle deserialization, leading to full compromise of confidentiality, integrity, and availability. Exploitation requires user interaction (the victim must load the file) and the attack vector is local; no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: 1.6.0. Upgrade MONAI to version 1.6.0 or later to resolve the vulnerability, as the fix (PR 8875) changes NumpyReader to use allow_pickle=False by default. Until upgrading, avoid loading untrusted .npy or .npz files through MONAI's data pipeline; since allow_pickle cannot be disabled via kwargs, consider preprocessing untrusted files with a safe loader (e.g., np.load with allow_pickle=False) before passing them to MONAI, or restrict the pipeline to only trusted data sources. Note that alternative loaders may not support object arrays and could break workflows that rely on pickled numpy objects. For more details, consult the GitHub Security Advisory at https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-wg9g-w2j2-8pgr and the VulnCheck advisory at https://www.vulncheck.com/advisories/monai-before-1.6.0-remote-code-execution-via-numpyreader.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in NumpyReader (monai/data/image_reader.py line 1276), which unconditionally calls np.load(name, allow_pickle=True). This enables Python's pickle protocol during numpy array loading, allowing execution of arbitrary code via the __reduce__ method when a crafted .npy or .npz file is deserialized. The allow_pickle parameter is hardcoded and cannot be overridden by users, as the docstring explicitly excludes it from kwargs. MONAI's standard data pipeline automatically selects NumpyReader for files with .npy or .npz extensions (via LoadImage transform in monai/transforms/io/array.py), affecting transforms and datasets like PersistentDataset, CacheDataset, and SmartCacheDataset. The root cause is CWE-502 (Deserialization of Untrusted Data). While other parts of MONAI (e.g., NPZDataset, torch.load) have been hardened with allow_pickle=False or weights_only=True, NumpyReader was overlooked, creating an inconsistent security posture. The CPE cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:* confirms all versions before 1.6.0 are affected.
Know when Monai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker supplies a malicious file the victim must load (AV:L, UI:R), no privileges or special complexity needed, and pickle execution yields full code execution in the victim context (C/I/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 1 pypi packages depend on monai (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.6.0.
Articles & Coverage 1
Technical POC Analysis
CWE-502 (Deserialization of Untrusted Data).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
MONAI deployments using versions prior to 1.6.0 are exposed to an arbitrary code execution flaw in the NumpyReader class that can fully compromise confidentiality, integrity, and availability when a user loads a malicious .npy or .npz file. The issue affects systems and pipelines that process .npy or .npz files, and while exploitation requires local file placement and user interaction, no public exploit identified at time of analysis. Leadership should prioritize targeted mitigations because affected workloads may handle sensitive data and the vendor patch status is: No vendor-released patch identified at time of analysis.
No vendor-released patch identified at time of analysis; interim mitigations include disabling or restricting NumpyReader, forcing numpy.load(..., allow_pickle=False), accepting .npy/.npz files only from trusted sources, sandboxing MONAI processes with least privilege, and monitoring for malicious file ingestion.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in MONAI Deserialization, Injection, and RCE Flaws
View all 7MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. Rated high severity (CVSS 8.8), this vulne
MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. Rated high severity (CVSS 8.8), this vulne
MONAI versions up to 1.5.1 contain a path traversal vulnerability in the `_download_from_ngc_private()` function that fa
Arbitrary code execution in MONAI's Auto3DSeg component (versions 1.6.0 through 1.6.0rc1) lets a crafted work directory
Remote code execution in Project MONAI 0.4.0 through 1.6.0 requires an on-path attacker to tamper with SENet pretrained
Insecure deserialization in Project MONAI's nnUNetV2Runner (versions 1.2.0 up to but not including 1.6.1) lets an attack
EUVD-2026-87843
GHSA-4jj3-3266-2688
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB