CVE-2026-119578: MONAI: code execution via Auto3DSeg algo_object.json
HIGHMONAI 1.6.0 (before 1.6.1) has a code execution flaw in Auto3DSeg. Its algo_from_json() function imports and instantiates whatever Python module and _target_ name a work directory's algo_object.json points to. Anyone who gets a victim to run AutoRunner or import_bundle_algo_history on a booby-trapped directory gets code running as that user, with no extra configuration needed. Urgency is moderate: the CVSS is 7.8 and the attack is local and needs user interaction. It is not in CISA KEV, no public exploit or Nuclei template is known, and there is no EPSS data yet. Exposure is concentrated in medical imaging research and ML engineering teams that exchange Auto3DSeg work directories, where the executing account often holds patient-data access, GPU hosts, and cloud credentials. Upgrade to MONAI 1.6.1 or later, and until then treat any work directory or algorithm bundle from outside your organization as untrusted code.
What is the risk?
High severity (CVSS 7.8) but with limited reach. The attack is local, needs no privileges, and has low complexity, but a user must load the crafted directory. There is no KEV listing, no known public exploit, and no EPSS score, so near-term mass exploitation looks unlikely. The practical risk comes from how often Auto3DSeg work directories and algorithm bundles are shared between researchers, collaborators, and automated pipelines. In those settings the victim's own privileges (data access, GPU nodes, credentials) become the attacker's. Confidence is MEDIUM because downstream dependent counts and exploitation telemetry are unavailable.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| MONAI | pip | — | No patch |
Do you use MONAI? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade MONAI to 1.6.1 or later (see GHSA-2wx3-8x3w-r8qv). 2) Until patched, do not call AutoRunner or import_bundle_algo_history on work directories from untrusted or unverified sources. Verify provenance and integrity (hashes or signatures) of shared directories. 3) Review algo_object.json files for unexpected _target_ values and for algorithm_templates modules that do not match the official MONAI templates. 4) Run Auto3DSeg jobs in sandboxed containers or low-privilege accounts with no access to production data or long-lived credentials. 5) Detection: monitor for unexpected child processes, network connections, or file writes from Python training jobs, and inventory hosts running MONAI 1.6.0 with SCA tooling.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-119578?
MONAI 1.6.0 (before 1.6.1) has a code execution flaw in Auto3DSeg. Its algo_from_json() function imports and instantiates whatever Python module and _target_ name a work directory's algo_object.json points to. Anyone who gets a victim to run AutoRunner or import_bundle_algo_history on a booby-trapped directory gets code running as that user, with no extra configuration needed. Urgency is moderate: the CVSS is 7.8 and the attack is local and needs user interaction. It is not in CISA KEV, no public exploit or Nuclei template is known, and there is no EPSS data yet. Exposure is concentrated in medical imaging research and ML engineering teams that exchange Auto3DSeg work directories, where the executing account often holds patient-data access, GPU hosts, and cloud credentials. Upgrade to MONAI 1.6.1 or later, and until then treat any work directory or algorithm bundle from outside your organization as untrusted code.
Is CVE-2026-119578 actively exploited?
No confirmed active exploitation of CVE-2026-119578 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-119578?
1) Upgrade MONAI to 1.6.1 or later (see GHSA-2wx3-8x3w-r8qv). 2) Until patched, do not call AutoRunner or import_bundle_algo_history on work directories from untrusted or unverified sources. Verify provenance and integrity (hashes or signatures) of shared directories. 3) Review algo_object.json files for unexpected _target_ values and for algorithm_templates modules that do not match the official MONAI templates. 4) Run Auto3DSeg jobs in sandboxed containers or low-privilege accounts with no access to production data or long-lived credentials. 5) Detection: monitor for unexpected child processes, network connections, or file writes from Python training jobs, and inventory hosts running MONAI 1.6.0 with SCA tooling.
What systems are affected by CVE-2026-119578?
This vulnerability affects the following AI/ML architecture patterns: training pipelines, AutoML pipelines, medical imaging ML workflows, shared research workstations and GPU clusters.
What is the CVSS score for CVE-2026-119578?
CVE-2026-119578 has a CVSS v3.1 base score of 7.8 (HIGH). The EPSS exploitation probability is 0.55%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.001AI SoftwareAML.T0011.000Unsafe AI ArtifactsAML.T0050Command and Scripting InterpreterCompliance Controls Affected
What are the technical details?
Original Advisory
MONAI from 1.6.0 before 1.6.1 contains a remote code execution vulnerability in Auto3DSeg algo_from_json() that allows attackers to run Python code via a crafted work directory's algo_object.json. Attackers can ship a malicious algorithm_templates module plus a _target_ name that is imported and instantiated when victims call AutoRunner or import_bundle_algo_history, executing code under default configuration.
Exploitation Scenario
An attacker publishes a pre-trained Auto3DSeg work directory, for example as a collaborator share, a public repository, or a challenge submission. It contains a malicious algorithm_templates module and an algo_object.json whose _target_ points to it. A researcher or automated pipeline loads the directory with AutoRunner or import_bundle_algo_history to reproduce or resume a segmentation experiment. algo_from_json() imports and instantiates the attacker's class, which runs a payload that steals credentials and imaging datasets and opens a reverse shell on the GPU host.
Weaknesses (CWE)
CWE-470Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')PrimaryCWE-470Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')CWE-470 — Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection'): The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
- [Architecture and Design] Refactor your code to avoid using reflection.
- [Architecture and Design] Do not use user-controlled inputs to select and load classes or code.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HReferences
Timeline
Related Vulnerabilities
CVE-2026-487059.3MONAI: NaN/inf DICOM input causes DoS and corrupt inference
Same package: monaiCVE-2025-587558.8MONAI: path traversal allows arbitrary file write
Same package: monaiCVE-2025-587568.8MONAI: unsafe deserialization in CheckpointLoader allows RCE
Same package: monaiCVE-2025-587578.8MONAI: unsafe pickle deserialization RCE in data pipeline
Same package: monaiCVE-2026-1008428.8MONAI: eval sandbox bypass allows code execution
Same package: monai