Skip to main content

MONAI CVE-2026-100841

| EUVDEUVD-2026-87847 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-09-27 VulnCheck GHSA-wfpp-6gx5-h8xr
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local account on shared host
  2. Delivery
    Write malicious pickle to world-writable cache_dir
  3. Exploit
    Victim runs MONAI PersistentDataset pipeline
  4. Execution
    torch.load/pickle.loads deserializes payload
  5. Impact
    Arbitrary 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MONAI 1.6.0

Affected Packages

pypi monai no fix

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche medical-imaging deep-learning framework, mostly research/HPC use
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy