Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious MONAI bundle
-
DeliveryVictim downloads and loads bundle
-
ExploitConfig engine resolves _target_ / evals $ expression
-
ExecutionArbitrary Python executes as victim
-
ImpactHost compromise / data theft
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to load an attacker-controlled MONAI bundle via |
| Impact | This is a genuine code-execution flaw (CWE-95, eval injection) in MONAI's bundle configuration engine, where |
| Exploit ScenarioDerived | An attacker publishes a malicious MONAI bundle (e.g. on a model hub or repository) whose configuration embeds a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
MONAI through 1.6.0 will execute arbitrary code in the victim's process when it loads an attacker-supplied bundle, because the bundle configuration engine resolves '_target_' values to any importable callable without an allow list and passes '$' expressions straight to Python's eval(). An attacker who publishes or shares a crafted bundle achieves code execution as soon as an operator calls monai.bundle.load() or monai.bundle.run() on it; no credentials are required against the victim (PR:N), but the attack does depend on user interaction (UI:R) since the operator must obtain and load an untrusted bundle, and the payload runs with the privileges of the loading process. No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis; the primary exposure is to environments that pull third-party or community-contributed MONAI bundles rather than first-party trusted ones.
RemediationAI
No vendor-released patch version is confirmed in the available data, so the first step is to consult the GitHub security advisory GHSA-873f-pvrv-4x83 (https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-873f-pvrv-4x83) and the VulnCheck advisory (https://www.vulncheck.com/advisories/monai-through-1.6.0-remote-code-execution-via-bundle-configuration) for an updated release and upgrade to the first patched version as soon as it is identified; until then, treat every bundle as untrusted input. The most effective compensating control is to refuse to load any bundle that has not been obtained from a vetted internal registry and verified against a known-good hash or signature - the trade-off is that third-party and public model-zoo bundles stop working until they are reviewed and re-published internally. Where untrusted bundles cannot be avoided, statically inspect the bundle's JSON/YAML configuration before loading and reject any file containing unexpected '_target_' entries pointing outside a small approved module allow list or any '$'-prefixed expression, since these are the exact sink paths; note that a custom allow list must be maintained as legitimate bundles evolve. Additionally, execute monai.bundle.load()/run() inside a least-privilege sandbox - a container with no host mounts, no cloud credentials or secrets in the environment, dropped capabilities, and restricted egress network access - accepting the overhead and possible GPU/device-access friction this introduces, but limiting an exploit to a disposable process rather than the host or CI runner. Finally, restrict who can publish bundles to your internal registry and audit existing bundles for the vulnerable patterns, since MONAI through 1.6.0 provides no built-in enforcement of these restrictions.
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 flaw is CWE-95 (improper neutralization of directives in dynamically evaluated code, i.e. eval injection) in MONAI's bundle configuration engine. MONAI bundles are directory-based model packages whose JSON/YAML configs use a '_target_' key to name the Python callable that should be instantiated - a pattern inherited from the Hydra/instantiate convention - and use '$' prefixed expressions for inline evaluation. Through version 1.6.0, MONAI resolves '_target_' strings to arbitrary importable callables without validating them against an allow list, so a bundle can name any importable function or class reachable from the loading environment; separately, '$' expressions in the config are handed to Python eval() rather than a restricted evaluator or a safe expression parser. Both paths are attacker-controlled when the bundle is attacker-controlled, giving arbitrary code execution in the process that performs the load or run. The CPE record cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:* indicates all versions through the 1.6.0 cutoff are in scope. The CVSS:4.0 vector supplied by the reporter scores AV:L with UI:P, and our independent CVSS:3.1 assessment (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is consistent: the malicious configuration must reach the victim's filesystem and then be explicitly loaded, so attack complexity is low but a human action is the gating prerequisite.
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
Untrusted bundle must be loaded locally by the victim (AV:L, UI:R), no auth or privilege needed (PR:N), yielding full code execution in the process (C/I/A:H, S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
MONAI through 1.6.0 contains a remote code execution vulnerability in the bundle configuration engine that resolves _target_ values to arbitrary importable callables without an allow list and passes $ expressions to Python eval(). Attackers can publish a malicious bundle with crafted configuration containing arbitrary code that executes when a victim loads the bundle using monai.bundle.load() or monai.bundle.run().
Articles & Coverage 1
Technical POC Analysis
CWE-95 (Eval Injection), with a companion unrestricted-instantiation defect in the same configuration engine.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
MONAI through 1.6.0 is vulnerable to arbitrary code execution when an operator loads an attacker-supplied bundle, enabling an unauthenticated attacker to run code with the privileges of the loading process if user interaction occurs. This affects AI/ML teams and any environment that consumes third-party or community MONAI bundles, creating risks of data theft, model tampering, or lateral movement; no public exploit identified at time of analysis. Leadership should prioritize bundle provenance and runtime isolation because no vendor-released patch identified at time of analysis.
No vendor-released patch identified at time of analysis. Restrict MONAI bundle loading to internally vetted and digitally signed bundles only; run MONAI in isolated, low-privilege containers or VMs with strict network egress; disable or avoid monai.bundle.load() and monai.bundle.run() on untrusted bundles; monitor process execution and outbound connections from MONAI workloads; maintain inventory of MONAI versions and bundle sources until a vendor patch is available.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-87848
GHSA-8jxj-xq3g-hvm2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB