Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100844 Overview
CVE-2026-100844 is an operating system (OS) command injection vulnerability in Medical Open Network for AI (MONAI) versions prior to 1.6.0. The flaw resides in the nnUNetV2Runner component (monai.apps.nnunet.nnunetv2_runner), where user-controlled values from YAML configuration files and command-line arguments are concatenated into shell command strings without validation. The resulting string is passed to subprocess with shell=True, allowing shell metacharacters to be interpreted by the host shell. An attacker who convinces a user to load a crafted configuration file can execute arbitrary commands with the privileges of the user running the training or validation job.
Critical Impact
Loading a malicious YAML configuration in MONAI's nnUNetV2Runner triggers arbitrary command execution on Linux or Windows hosts, compromising confidentiality, integrity, and availability of the affected workstation or GPU training node.
Affected Products
- Project-MONAI MONAI versions before 1.6.0
- monai.apps.nnunet.nnunetv2_runner module (nnUNetV2Runner class)
- Any training or inference pipeline that instantiates nnUNetV2Runner from external YAML input
Discovery Timeline
- 2026-09-27 - CVE-2026-100844 published to the National Vulnerability Database (NVD)
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-100844
Vulnerability Analysis
The vulnerability is classified as OS Command Injection [CWE-78]. MONAI is a widely used PyTorch-based framework for medical imaging deep learning. Its nnUNetV2Runner wraps the nnU-Net v2 training pipeline and accepts configuration through YAML files and keyword arguments. Fields such as dataset_name_or_id are embedded directly into shell command strings used to invoke underlying nnU-Net binaries. Because the runner invokes subprocess with shell=True, any metacharacter in a controlled field terminates the intended command and starts a new one. On Linux, a semicolon (;) or backtick is sufficient. On Windows, the ampersand (&) achieves the same result.
Root Cause
The root cause is unsafe command construction. The runner concatenates user input into a command string instead of passing arguments as a list to subprocess.run. Combined with shell=True, this bypasses the operating system's argument boundary protections. No input sanitization or allow-list validation is applied to dataset_name_or_id or related CLI/kwargs parameters before they reach the shell.
Attack Vector
Exploitation requires a victim to load an attacker-supplied YAML configuration and invoke a runner method such as train_single_model(). YAML configurations are routinely shared across research teams, downloaded from model repositories, or embedded in dataset bundles, which makes social-engineering delivery practical. Once the method executes, the injected shell command runs with the privileges of the Python process, which on GPU training hosts frequently carries access to proprietary medical datasets, model weights, and cloud credentials.
The vulnerability is described in prose only; no verified proof-of-concept has been published. See the GitHub Security Advisory GHSA-rghg-q7wp-9767 and the VulnCheck Advisory on MONAI for technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-100844
Indicators of Compromise
- Python processes spawning unexpected child shells (/bin/sh -c, cmd.exe /c) from a MONAI training environment.
- YAML configuration files containing shell metacharacters such as ;, |, &, backticks, or $() inside the dataset_name_or_id field.
- Outbound network connections from GPU training hosts to unrecognized endpoints shortly after nnUNetV2Runner invocation.
Detection Strategies
- Perform static scanning of YAML files ingested by MONAI pipelines for shell metacharacters in configuration keys consumed by nnUNetV2Runner.
- Monitor process trees for python or jupyter parents launching shells followed by curl, wget, bash, or encoded commands.
- Alert on subprocess invocations with shell=True in audited Python runtime telemetry on research hosts.
Monitoring Recommendations
- Enable command-line auditing on Linux (auditd execve) and Windows (Event ID 4688 with command-line logging) across machine-learning (ML) training nodes.
- Capture file-integrity events on YAML configuration directories used by data science teams.
- Forward endpoint and process telemetry to a centralized data lake for correlation with threat intelligence on supply-chain abuse.
How to Mitigate CVE-2026-100844
Immediate Actions Required
- Upgrade MONAI to version 1.6.0 or later on all research workstations, Jupyter servers, and training clusters.
- Audit existing YAML configuration files for suspicious characters in dataset_name_or_id and related fields before processing.
- Restrict ingestion of third-party or externally sourced MONAI configuration files until review is complete.
Patch Information
Project-MONAI resolved the issue in MONAI 1.6.0. Refer to the GitHub Security Advisory GHSA-rghg-q7wp-9767 for the fixed commit and release notes. Upgrade using the standard Python package manager, pinning the minimum safe version in dependency files.
Workarounds
- If immediate upgrade is not possible, avoid instantiating nnUNetV2Runner with YAML or kwargs sourced from untrusted parties.
- Run MONAI training jobs under a dedicated low-privilege service account with no access to credentials or production data stores.
- Isolate training hosts behind egress firewalls that deny outbound traffic to unapproved destinations.
# Upgrade MONAI to the patched release
pip install --upgrade "monai>=1.6.0"
# Verify the installed version
python -c "import monai; print(monai.__version__)"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

