Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account on shared host
-
DeliveryWrite malicious pickle to world-writable cache_dir
-
ExploitVictim runs MONAI PersistentDataset pipeline
-
Executiontorch.load/pickle.loads deserializes payload
-
ImpactArbitrary code execution in victim's 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 | Requires: (1) a local account on the same host as the victim; (2) a shared or world-writable MONAI cache_dir such as /tmp/monai_cache, HPC scratch, or ~/.cache/monai that the attacker can write to; and (3) a victim subsequently running a MONAI PersistentDataset pipeline that caches MetaTensors (the default tensor type in MONAI >= 1.0), which forces torch.load(weights_only=False) and pickle.loads on the poisoned cache file. Limiting factors: the attack vector is local (not remote/network), the attacker must already be authenticated as a low-privileged user, and single-user installs with private cache directories are not realistically exploitable. Because no patched version exists, mitigation is operational - restrict cache_dir permissions to per-user private paths. |
| Impact | The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H = 8.5) frames this as a local, low-privilege but high-impact code-execution flaw, and that aligns with the description: an already-authenticated local user leverages an insecure-deserialization primitive (CWE-502) to run code as a *different* user. There is no EPSS score, no CISA KEV listing, and no public POC in the provided intelligence, so there is no signal of active or automated exploitation - this is a real but conditional privilege-crossing risk rather than a mass-exploitation event. The most important aggravating factor is that NO patched version exists (all released monai pip versions affected), which raises operational urgency despite the local attack vector. I assess the vendor's AC:L/AT:N as slightly optimistic: successful exploitation requires a genuinely shared or world-writable cache_dir AND a victim later reading that cache, which is a multi-user-specific precondition (more consistent with AC:H / AT:P). Net: a priority for shared/multi-tenant HPC and research environments, low priority for single-user installs. |
| Exploit ScenarioDerived | On a shared HPC or lab machine, an attacker with an ordinary local account writes a malicious pickle file into a world-writable MONAI cache directory (e.g. /tmp/monai_cache or a shared scratch path). When another user runs a MONAI PersistentDataset pipeline that caches MetaTensors, torch.load(...weights_only=False) / pickle.loads deserializes the attacker's payload and executes arbitrary code in the victim's context. No public POC is referenced, but the technique is a well-understood pickle-deserialization primitive. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Local code execution in MONAI 1.6.0 and all released versions allows an authenticated low-privileged local attacker to run arbitrary code as another user by writing a malicious pickle file to a shared or world-writable MONAI cache directory (e.g., /tmp/monai_cache, HPC scratch, ~/.cache/monai). The victim must subsequently run a PersistentDataset pipeline that caches MetaTensors (the default in MONAI >= 1.0), which forces torch.load(weights_only=False) and pickle.loads on the poisoned file. No vendor-released patch identified at time of analysis; no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis. The primary mitigation is operational: ensure that the MONAI cache_dir (e.g., /tmp/monai_cache, HPC scratch, ~/.cache/monai) is per-user private and not writable by other users. Set strict filesystem permissions (0700) on the cache directory and avoid shared or world-writable locations. If a shared cache is necessary, consider disabling caching of MetaTensors by setting track_meta=False where possible, or implement integrity checks on cached files before deserialization-though these are workarounds, not fixes. Monitor the GitHub advisory (https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-636w-j999-g7x5) for an official patch. Until then, restrict access to systems where untrusted local users could write to the cache directory.
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
MONAI is a PyTorch-based medical imaging framework. Its PersistentDataset class in monai/data/dataset.py caches tensors to disk. When MetaTensors are used (the default tensor type in MONAI >= 1.0), the combination track_meta=True with weights_only=True is rejected, forcing the use of torch.load(weights_only=False), which relies on Python's pickle module for deserialization. Cache helpers in monai/data/utils.py also call pickle.loads on cached content and derive cache keys using hashlib.md5. This insecure deserialization (CWE-502) allows an attacker with write access to a shared cache directory to poison the cache; when a victim's pipeline reads the cache, the malicious pickle is deserialized, leading to arbitrary code execution in the victim's context. All released versions of the monai pip package are affected, as indicated by the CPE cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:*.
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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local low-priv account (AV:L/PR:L); AC:H because exploitation depends on a shared/world-writable cache_dir plus a victim reading the poisoned cache; full code execution in victim context yields C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
In MONAI 1.6.0, PersistentDataset (monai/data/dataset.py) explicitly rejects the combination track_meta=True with weights_only=True, forcing users who cache MetaTensors (the default tensor type in MONAI >= 1.0) to run torch.load(hashfile, weights_only=False). Related cache helpers in monai/data/utils.py also call pickle.loads on cached content and derive cache keys with hashlib.md5. As a result, a local user with write access to a shared or world-writable cache_dir (e.g. /tmp/monai_cache, HPC scratch, ~/.cache/monai) can place a malicious pickle file that is deserialized the next time another user's MONAI pipeline reads the cache, resulting in arbitrary code execution in that user's context. All released versions of the monai pip package are affected; no patched version is available as of the advisory.
Articles & Coverage 1
Technical POC Analysis
CWE-502 (Deserialization of Untrusted Data), with CWE-327 listed alongside it in the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
MONAI, an open-source medical imaging AI framework used across research and clinical pipelines, contains a high-severity local code execution flaw in version 1.6.0 and all released versions that can allow a local attacker to compromise other users' accounts through poisoned cache files. Because the flaw affects multi-user environments such as shared HPC clusters and research workstations, and no vendor-released patch identified at time of analysis, leadership should prioritize containment of MONAI cache directories; successful exploitation could enable unauthorized access to sensitive datasets, model artifacts, and compute resources, with potential lateral movement within research infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: run MONAI workloads with dedicated low-privilege service accounts and strict separation; use private per-user cache directories with 0700 permissions instead of /tmp/monai_cache, HPC scratch, or other shared/world-writable locations; disable PersistentDataset MetaTensor caching or require non-pickle serialization where possible; monitor and quarantine unexpected pickle or cache files; restrict write access to shared cache paths; and isolate MONAI jobs in containers or sandboxes with least privilege. Apply vendor patch when released.
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-87847
GHSA-wfpp-6gx5-h8xr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB