{"id":"CVE-2026-100844","published":"2026-09-27T02:17:22.993","lastModified":"2026-09-30T15:33:29.100","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.","cvssScore":8.4,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-78"],"vendors":["project-monai"],"products":["monai"],"references":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-rghg-q7wp-9767","tags":["Exploit","Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/monai-before-1.6.0-os-command-injection-via-dataset-name-or-id","tags":["Third Party Advisory"]},{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-rghg-q7wp-9767","tags":["Exploit","Vendor Advisory"]}],"exploitRefs":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-rghg-q7wp-9767","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-rghg-q7wp-9767","tags":["Exploit","Vendor Advisory"]}],"hasPoc":true,"ai":{"summary":"The flaw allows for OS command injection due to improper handling of user-controlled inputs, enabling arbitrary command execution.","exploitability":"Exploitation is relatively straightforward if a victim loads a crafted configuration file, as the vulnerability is triggered during the execution of training/validation jobs.","blast_radius":"If exploited, this could lead to full compromise of the system, as the commands are executed with the privileges of the user running the job.","remediation":"Upgrade to MONAI 1.6.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","os-command-injection","yaml-injection"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:44:09.843Z"}}