Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0033
Published:August 28, 2026
Updated:August 31, 2026
MONAI is vulnerable to OS command injection in monai/apps/nnunet/nnunetv2_runner.py. The runner concatenates user-controlled values from a configuration YAML (dataset_name_or_id) or CLI kwargs into a command string without quoting or validation, and the string is passed to subprocess with shell=True, so shell metacharacters are interpreted and arbitrary commands are executed. A victim need only load a crafted YAML in code that launches training or validation jobs. Fixed in 1.6.0, which validates dataset_name_or_id against a strict regex and builds the command as an argument list.
Affected Packages
monai (CONDA):
Affected version(s) >=0.8.0 <1.6.0
Fix Suggestion:
Update to version 1.6.0
https://github.com/Project-MONAI/MONAI.git (GITHUB):
Affected version(s) >=1.0.0 <1.6.0
Fix Suggestion:
Update to version 1.6.0
monai (PYTHON):
Affected version(s) >=0.0.1 <1.6.0
Fix Suggestion:
Update to version 1.6.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')