Vulnerability · Published Sep 27, 2026 · Assigned by VulnCheck
CVE-2026-100844MONAI before 1.6.0 OS Command Injection via dataset_name_or_id
High 8.4
In plain English
A high-severity OS command injection in MONAI from Project-MONAI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
MONAI before 1.6.0 is vulnerable to OS command injection in the nnUNetV2Runner component (monai.apps.nnunet.nnunetv2_runner). User-controlled values taken from the YAML configuration file (notably dataset_name_or_id) and from CLI/kwargs arguments are concatenated into a command string without quoting or validation and then passed to subprocess with shell=True, so shell metacharacters (e.g., ';' on Linux, '&' on Windows) are interpreted. If a victim loads and processes a crafted configuration file — for example by instantiating nnUNetV2Runner with the malicious YAML and invoking a training/validation job such as train_single_model() — arbitrary commands are executed with the privileges of the user running the job.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | monai | 1.6.0 | GHSA-rghg-q7wp-9767 |
| PyPI | monai | 1.6.0 | PYSEC-2026-4019 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Project-MONAI | MONAI | 0 – before 1.6.0 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-rghg-q7wp-9767) vendor-advisory
- VulnCheck Advisory: MONAI before 1.6.0 OS Command Injection via dataset_name_or_id third-party-advisory