# CVE-2026-100844: MONAI before 1.6.0 OS Command Injection via dataset\_name\_or\_id

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.03% (percentile 63, 2026-11-28)
- **CWE:** CWE-78
- **Aliases:** GHSA-rghg-q7wp-9767, PYSEC-2026-4019
- **Published:** 2026-08-18T20:22:38.000Z
- **Modified:** 2026-10-08T15:22:02.046Z

## Who should check

- Projects that depend on PyPI package monai (\< 1.6.0)
- Anyone running Project-MONAI MONAI \< 1.6.0

## 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 and fixed versions

- PyPI `monai`: affected \< 1.6.0; fixed 1.6.0 (osv)
- Project-MONAI MONAI: \< 1.6.0 (cvelist)

## Mitigation

- Upgrade monai to 1.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-100844. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-100844.md
Affected: monai < 1.6.0
Fixed in: 1.6.0

Steps:
1. Search this machine and project for monai (PyPI), Project-MONAI MONAI: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-100844 being exploited?

There is no confirmed exploitation: CVE-2026-100844 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.03% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-100844?

High: CVSS 8.6 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-100844?

monai \< 1.6.0.

### Is there a fix for CVE-2026-100844?

Yes. Fixed in 1.6.0. Upgrade monai to 1.6.0 or later.

### How do I check if I'm affected by CVE-2026-100844?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-rghg-q7wp-9767>
- vendor: <https://www.vulncheck.com/advisories/monai-before-1.6.0-os-command-injection-via-dataset-name-or-id>
- patch: <https://github.com/Project-MONAI/MONAI/pull/8885>
- other: <https://github.com/Project-MONAI/MONAI>
- other: <https://github.com/Project-MONAI/MONAI/releases/tag/1.6.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-100844>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rghg-q7wp-9767> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4019> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-100844> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-100844>
