CVE-2026-145612
MediumCVSS 5.3Exploitation Probability (EPSS)
Low risk13th percentile - higher than 13% of all known CVEs
Summary
MONAI from 1.2.0 before 1.6.2 contains an argument injection vulnerability in Auto3DSeg EnsembleRunner that lets attackers inject torchrun arguments through whitespace in YAML configuration values. Attackers supplying crafted work_dir or sigmoid values can override --work_dir or inject --output_dir on multi-GPU systems, redirecting data, model loading and output.
Risk Assessment
An attacker could redirect data, models, and training outputs on multi-GPU systems, potentially leading to data leakage, result manipulation, or execution of unauthorized operations. This requires the ability to supply a crafted YAML configuration.
Recommendation
Update MONAI to version 1.6.2 or later. Additionally, validate and sanitize YAML configuration values, especially work_dir and sigmoid fields, before passing them to EnsembleRunner.
Other vulnerabilities in MONAI
See all- CVE-2026-48705Critical
Prior to 1.6.1, MONAI's PydicomReader._get_affine() trusts non-finite values in DICOM PixelSpacing, ImagePositionPatient, and ImageOrientationPatient fields and composes them into an affine matrix without validation. An unauthenticated attacker who can upload a crafted DICOM to a default MONAILabel deployment can propagate NaN or infinity values, causing inference failures, persistent datastore poisoning, or geometrically corrupted results.
- CVE-2026-145614High
MONAI before 1.6.2 contains an arbitrary code execution vulnerability in monai.apps.mmars.load_from_mmar(), which imports and instantiates any callable named by the path and args fields of an untrusted checkpoint's train_conf data without restriction. Attackers can supply a malicious MMAR checkpoint specifying subprocess.Popen with arbitrary arguments, executing commands when it is loaded despite torch.load weights_only=True.
- CVE-2026-145613High
MONAI from 1.0.0 before 1.6.2 contains an OS command injection vulnerability in Auto3DSeg AutoRunner that allows attackers to execute commands via the work_dir field. Attackers can supply a YAML configuration with shell metacharacters in work_dir, which NNI runs through a shell-interpreted trialCommand, executing commands as the pipeline user.
- CVE-2026-145611High
MONAI before 1.6.2 contains a path traversal vulnerability in BundleAlgo.export_to_disk() that fails to verify that a caller-supplied algo_name stays under output_path. Attackers who control algo_name, or an algos mapping key passed to BundleGen, can supply '../' sequences or absolute paths to recursively delete directories and copy template files outside the output directory.
- CVE-2026-145610High
MONAI before 1.6.2 contains a code injection vulnerability in monai.auto3dseg.utils.algo_from_json(), which copies _state_.template_path from an algo JSON file into a ConfigParser that evaluates '$' expressions with eval(). Attackers can supply a crafted algo_object.json with a legitimate BundleAlgo _target_ to bypass the Algo subclass check and execute arbitrary Python code when it is loaded.
- CVE-2026-145609High
MONAI before 1.6.2 contains an unsafe class loading vulnerability in nnunet_bundle.py that allows attackers to invoke arbitrary callables via an attacker-controlled plans.json network_class_name. Attackers can distribute a malicious nnUNet bundle whose class name is resolved by pydoc.locate, overwriting arbitrary files and potentially achieving code execution.
- CVE-2026-145608High
MONAI from 1.0.0 before 1.6.2 contains a code injection vulnerability in Auto3DSeg BundleGen that allows attackers to execute arbitrary Python code by supplying a crafted algos dict parsed through ConfigParser. Attackers can place $-prefixed expressions or malicious _target_ directives in an input.yaml consumed by AutoRunner, or pass them to the BundleGen API or CLI, to run code via eval() or pydoc.locate() in the MONAI process.
- CVE-2026-145607High
MONAI before 1.6.2 contains a code injection vulnerability in Auto3DSeg BundleAlgo.get_score() that evaluates the ckpt_path value from configs/hyper_parameters.yaml with Python eval(). Attackers can supply a crafted work directory whose ckpt_path begins with '$', executing Python code when import_bundle_algo_history() or AutoRunner reads its score.
- CVE-2026-145083High
MONAI through 1.5.2 contains a path traversal vulnerability in download_large_files that allows attackers to write files outside the bundle directory via unvalidated large_files paths. Attackers can distribute a malicious bundle whose large_files.yml uses absolute or ../ paths with attacker-controlled hashes to overwrite files like SSH authorized_keys or cron entries.
- CVE-2026-119578High
MONAI from 1.6.0 before 1.6.1 contains a remote code execution vulnerability in Auto3DSeg algo_from_json(). Attackers can run Python code via a crafted algo_object.json in a work directory.
Original NVD description (English source)
MONAI from 1.2.0 before 1.6.2 contains an argument injection vulnerability in Auto3DSeg EnsembleRunner that lets attackers inject torchrun arguments through whitespace in YAML configuration values. Attackers supplying crafted work_dir or sigmoid values can override --work_dir or inject --output_dir on multi-GPU systems, redirecting data, model loading and output.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

