Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .pkl with __reduce__ payload
-
DeliveryDeliver artifact to victim pipeline
-
ExploitVictim app calls algo_from_pickle()
-
Executionpickle.loads deserializes untrusted object
-
ImpactArbitrary code execution in app 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 that the target application actually calls monai.auto3dseg.utils.algo_from_pickle() on an attacker-controlled .pkl file - i.e. an auto3dseg workflow that loads externally-sourced algo artifacts. There is no path-source or content validation, so a single crafted pickle suffices, but exploitation is gated by: (1) the victim ingesting an attacker-supplied pickle (delivery via model exchange, shared storage, or pipeline input), and (2) the victim's code invoking this specific function. It does not require attacker authentication or privileges on the target host; it is not remotely triggerable against a default network service. Affected: MONAI < 1.6.0 (per package metadata; description ambiguously says before 1.5.2); fixed in 1.6.0. |
| Impact | This is a genuine but conditional deserialization RCE (CWE-502): monai/auto3dseg/utils.py:algo_from_pickle() reads a .pkl file and passes its bytes to pickle.loads() with no source or content validation, so any object defining __reduce__ executes on load. The vendor CVSS 4.0 score is 8.8, but its vector (AV:N/AC:H/AT:P/PR:H/UI:P) is internally inconsistent with the actual mechanics: the attack is not a network service exploit - it requires the victim application to invoke algo_from_pickle on a file the attacker supplied, which is a local/file-borne, user-interaction-driven vector (AV:L/UI:R), and it needs no privileges on the target (PR:N is more accurate than PR:H). No EPSS score, no CISA KEV listing, and no independent SSVC decision data are provided, so there is no signal of automated or widespread exploitation; a working POC is embedded in the GHSA advisory (calc.exe via subprocess.call), so publicly available exploit code exists but that is distinct from active exploitation. Net: real and reproducible, but exploitation depends on an attacker getting a malicious pickle into a pipeline that calls this function (e.g. a shared/exchanged auto3dseg model artifact), making it a moderate targeted risk rather than a mass-exploitable emergency. Note a data conflict: the description says 'before 1.5.2' while the package/patch metadata says vulnerable <1.6.0, fixed in 1.6.0 (commit 9078a72f) - verify the true fixed version with the vendor. |
| Exploit ScenarioDerived | An attacker distributes a crafted auto3dseg algo .pkl artifact (e.g. via a model-sharing repo or a compromised pipeline input); when a researcher's MONAI application calls algo_from_pickle on it, the embedded __reduce__ payload executes arbitrary commands in the application's context. A working proof-of-concept exists in the GHSA advisory demonstrating command execution during deserialization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Deserialization of untrusted data in MONAI's auto3dseg utility (monai/auto3dseg/utils.py) allows arbitrary code execution when algo_from_pickle() is called on an attacker-supplied .pkl file: the function reads the raw file bytes and hands them to pickle.loads() without any source or content validation, so any object defining __reduce__ runs in the victim application's context. Exploitation is conditional rather than remote-against-a-service: an attacker must first deliver a malicious pickle (model exchange, shared storage, or a pipeline input) and the victim's code must invoke this specific function, and per the authoritative assessment the vector is local with user interaction required (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) rather than unauthenticated network exploitation. A working proof-of-concept is documented in the upstream GitHub advisory GHSA-89gg-p5r5-q6r4 (publicly available exploit code exists), but there is no confirmed active exploitation (CISA KEV).
RemediationAI
Vendor-released patch: upgrade to MONAI 1.6.0 (pip install --upgrade 'monai>=1.6.0'); the upstream fix is at https://github.com/Project-MONAI/MONAI/commit/9078a72f3992e49bd4560db510be9ec4ccf972cc and advisory GHSA-89gg-p5r5-q6r4. Because this is a library sink, patching is necessary but not sufficient - audit any code that calls monai.auto3dseg.utils.algo_from_pickle() and stop passing it pickles from untrusted or shared storage. Until upgrading is possible, compensating controls include: refuse to load algorithm artifacts that are not integrity-verified (sign or hash-check the .pkl before use, rejecting anything without a trusted checksum - this blocks tampering but does not help if the trusted source itself is malicious); restrict write access and file provenance for directories feeding Auto3Dseg pipelines so external parties cannot plant a .pkl (helps only when the attacker cannot already write to shared storage); and run Auto3Dseg loading in a sandboxed or low-privilege container with no host mounts or credentials, which limits blast radius of the resulting code execution but adds operational overhead and can break workflows needing filesystem or GPU access. Migrating the artifact format away from pickle to a non-executable serialization (JSON, safetensors, or a schema-validated format) removes the sink entirely, at the cost of reworking the serialization path, and simply disabling the auto3dseg algorithm-loading step forfeits that functionality. Note that there is no confirmed active exploitation (not in CISA KEV), so prioritization can follow normal risk-based patch cycles for systems that ingest external model artifacts.
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 an open-source PyTorch-based framework for medical imaging deep learning, and its Auto3Dseg subpackage automates segmentation pipeline construction, serializing generated algorithm definitions to pickle files that are later reloaded. The vulnerable helper algo_from_pickle() in monai/auto3dseg/utils.py opens the supplied pkl_filename, reads the bytes, and immediately calls pickle.loads(data_bytes) with no allowlist, signature check, or provenance validation. Python's pickle format is inherently executable: when an object implements __reduce__, the unpickler invokes the referenced callable during reconstruction, so control of the stream is equivalent to code execution in the loading process (CWE-502, Deserialization of Untrusted Data). The proof-of-concept in the upstream advisory shows a MaliciousAlgo class whose __reduce__ returns subprocess.call(['calc.exe']), wrapped in an 'algo_bytes' dictionary, written to attack_algo.pkl and then loaded via algo_from_pickle - the classic pickle RCE chain. The affected product is identified by CPE cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:* (the CPE carries no version bounds, so version scope must come from the advisory). This is a library-level flaw rather than a network daemon flaw: exposure depends entirely on how a downstream application sources and loads algorithm pickles.
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:N/AC:H/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
File-borne pickle requiring the victim to load an attacker artifact via algo_from_pickle, so AV:L and UI:R with no attacker privileges (PR:N); deserialization yields full code execution (C/I/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
MONAI before 1.5.2 contains a deserialization of untrusted data vulnerability in the algo_from_pickle function in monai/auto3dseg/utils.py. The function reads a .pkl file and passes its contents to pickle.loads without validating the data source or content. If an application invokes algo_from_pickle on an attacker-supplied pickle file, an object defining __reduce__ is executed during deserialization, resulting in arbitrary code execution in the context of the application.
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's auto3dseg utility contains a deserialization vulnerability that allows arbitrary code execution when a malicious pickle file is loaded via algo_from_pickle(). This affects medical imaging AI teams that exchange or process model files from untrusted sources, potentially leading to compromised AI models, exposure of sensitive patient data, and disruption of research or clinical workflows. With no vendor-released patch identified at time of analysis and publicly available exploit code exists, leadership should prioritize immediate mitigation to prevent unauthorized access and data tampering.
No vendor-released patch identified at time of analysis; interim mitigations include restricting auto3dseg usage to trusted pickle files, implementing file integrity validation (e.g., cryptographic hashing), sandboxing MONAI execution environments, applying least privilege, and monitoring for unusual process activity. Avoid loading pickle files from untrusted sources.
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-87842
GHSA-cvqf-4876-w239
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB