Home › Vulnerabilities › Project-MONAI
MONAI batch fixed in 1.6.2: eight flaws allow code execution, file deletion and command injection
Eight vulnerabilities in Project-MONAI MONAI, published by NVD on 2026-12-06, affect versions before 1.6.2. Most are rated HIGH and involve untrusted input reaching eval(), pydoc.locate() or shell commands, while one is rated MEDIUM for argument injection.
What to look into
- 8 vulnerabilities in Project-MONAI MONAI: 7 high, 1 medium (CVSS up to 8.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-145611 (8.7 high): MONAI before 1.6.2 contains a path traversal vulnerability in BundleAlgo.exporttodisk() that fails to verify that a caller-supplied algoname stays under outputpath. Attackers who control algoname, or… An attacker without an account can exploit this over the network, without any user action.
- 3 of 8 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
- Kinds of flaws: Improper Control of Generation of Code ('Code Injection') (×2); Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (×2); Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Key points
- Eight MONAI flaws were published together, and all affected versions are before 1.6.2.
- The two most severe records (CVE-2026-145611 and CVE-2026-145614) are rated CVSS 8.7.
- Several records involve eval(), pydoc.locate() or shell execution on untrusted configuration, checkpoint or bundle data.
- The records do not state known exploitation or workarounds.
What the batch contains
NVD published eight MONAI records together. Most describe code-execution paths, and the rest cover path traversal and argument injection. All affected versions are listed as before 1.6.2, and the records name 1.6.2 as the fixed release.
Most severe issues
CVE-2026-145611 (CVSS 8.7) is a path traversal in BundleAlgo.exporttodisk(). Crafted algoname values can use '../' sequences or absolute paths to delete directories recursively and copy template files outside the output directory.
CVE-2026-145614 (CVSS 8.7) affects monai.apps.mmars.loadfrommmar(). A malicious MMAR checkpoint can name callables such as subprocess.Popen, which the records say execute when the checkpoint is loaded, even with torch.load weightsonly=True.
Code injection through eval and class loading
CVE-2026-145607, CVE-2026-145608 and CVE-2026-145610 (each CVSS 8.5) involve Auto3DSeg code that evaluates configuration values with Python eval(). These paths use ckptpath, algos dictionaries and algo JSON files. CVE-2026-145609 (CVSS 7.2) lets a crafted nnUNet plans.json name an arbitrary class through pydoc.locate().
Command and argument injection
CVE-2026-145613 (CVSS 7.3) allows shell metacharacters in the AutoRunner workdir field to reach an NNI trialCommand. CVE-2026-145612 (CVSS 5.8) lets whitespace in workdir or sigmoid values inject torchrun arguments on multi-GPU systems.
Exploitation and workarounds
The records do not state that any of these flaws is known to be exploited. They also do not provide workarounds or detection guidance.
What to do
- Upgrade MONAI to version 1.6.2 or later, as the records name 1.6.2 as the fixed release.
- Load only trusted MMAR checkpoints, nnUNet bundles, algo JSON files and input.yaml configurations until the upgrade is applied.
- Review AutoRunner and BundleGen workdir and algos inputs that come from outside sources.
The 8 vulnerabilities
- CVE-2026-145611 8.7 MONAI before 1.6.2 contains a path traversal vulnerability in BundleAlgo.exporttodisk() that fails to verify that a caller-supplied algoname stays under outputpath. Attackers who control algoname, or an algos mapping key passed to BundleGe…
- CVE-2026-145614 8.7 MONAI before 1.6.2 contains an arbitrary code execution vulnerability in monai.apps.mmars.loadfrommmar(), which imports and instantiates any callable named by the path and args fields of an untrusted checkpoint's trainconf data without res…
- CVE-2026-145607 8.5 MONAI before 1.6.2 contains a code injection vulnerability in Auto3DSeg BundleAlgo.getscore() that evaluates the ckptpath value from configs/hyperparameters.yaml with Python eval(). Attackers can supply a crafted work directory whose ckptp…
- CVE-2026-145608 8.5 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 $-prefix…
- CVE-2026-145610 8.5 MONAI before 1.6.2 contains a code injection vulnerability in monai.auto3dseg.utils.algofromjson(), which copies state.templatepath from an algo JSON file into a ConfigParser that evaluates '$' expressions with eval(). Attackers can supply…
- CVE-2026-145613 7.3 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 workdir field. Attackers can supply a YAML configuration with shell metacharacters in wo…
- CVE-2026-145609 7.2 MONAI before 1.6.2 contains an unsafe class loading vulnerability in nnunetbundle.py that allows attackers to invoke arbitrary callables via an attacker-controlled plans.json networkclassname. Attackers can distribute a malicious nnUNet bu…
- CVE-2026-145612 5.8 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 workdir or si…
Frequently asked questions
How many Project-MONAI MONAI vulnerabilities were published on December 6, 2026?
8 vulnerabilities: 7 high, 1 medium, with CVSS scores up to 8.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-145611 (CVSS 8.7): MONAI before 1.6.2 contains a path traversal vulnerability in BundleAlgo.exporttodisk() that fails to verify that a caller-supplied algoname stays under outputpath. Attackers who control algoname, or…