{"answers":{"affected":"3 open source packages ship an affected version, including monai and MONAI. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100844 exists.","fix":"Upgrade monai to 1.6.0 or later.","what":"CVE-2026-100844 is a high-severity command injection vulnerability in Project-MONAI MONAI, published on 27 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-100844 and fix it if it is affected.\n\nWhat it is: CVE-2026-100844 is a high-severity command injection vulnerability in Project-MONAI MONAI, published on 27 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100844 exists.\n\nAffected packages and fixed versions:\n- monai (PyPI): affected all versions; fixed in 1.6.0\n- monai (PyPI): affected all versions; fixed in 1.6.0\n- MONAI (PyPI): affected all versions; fixed in 1.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-100844/ (Markdown: https://insights.sbomify.com/CVE-2026-100844/index.md)","id":"CVE-2026-100844","markdown":"https://insights.sbomify.com/CVE-2026-100844/index.md","name":"CVE-2026-100844","record":{"aliases":["GHSA-rghg-q7wp-9767","GHSA-x7wh-49x3-6748","PYSEC-2026-4019"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MONAI machine learning library","requires_auth":"none","summary":"Attackers can execute arbitrary OS commands by crafting a malicious YAML configuration file processed by the MONAI nnUNetV2Runner component.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"monai","vendor":"project-monai"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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, '\u0026' 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"MONAI before 1.6.0 OS Command Injection via dataset_name_or_id","id":"CVE-2026-100844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"MONAI before 1.6.0 Remote Code Execution via NumpyReader","id":"CVE-2026-100845"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"MONAI","purl":null,"source":"GHSA-rghg-q7wp-9767"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"monai","purl":"pkg:pypi/monai","source":"GHSA-rghg-q7wp-9767"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"monai","purl":"pkg:pypi/monai","source":"PYSEC-2026-4019"}],"prev":{"headline":"MONAI before 1.6.0 Remote Code Execution via algo_from_pickle","id":"CVE-2026-100843"},"products":["MONAI"],"published":"2026-09-27","related":[{"cvss_score":8.8,"headline":"MONAI before 1.5.2 Remote Code Execution via Pickle Deserialization","id":"CVE-2026-100846","kev_date_added":null,"published":"2026-09-27"},{"cvss_score":8.5,"headline":"MONAI through 1.6.0 Remote Code Execution via bundle configuration","id":"CVE-2026-100840","kev_date_added":null,"published":"2026-09-27"},{"cvss_score":8.5,"headline":"MONAI through 1.6.0 PersistentDataset Remote Code Execution via Pickle Cache","id":"CVE-2026-100841","kev_date_added":null,"published":"2026-09-27"},{"cvss_score":8.5,"headline":"MONAI before 1.6.0 Remote Code Execution via algo_from_pickle","id":"CVE-2026-100843","kev_date_added":null,"published":"2026-09-27"},{"cvss_score":8.5,"headline":"MONAI before 1.6.0 Remote Code Execution via NumpyReader","id":"CVE-2026-100845","kev_date_added":null,"published":"2026-09-27"},{"cvss_score":7.3,"headline":"MONAI through 1.6.0 _get_fake_spatial_shape eval() Sandbox Bypass via Attribute Chains","id":"CVE-2026-100842","kev_date_added":null,"published":"2026-09-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Project-MONAI"]},"summary":"Attackers can execute arbitrary OS commands by crafting a malicious YAML configuration file processed by the MONAI nnUNetV2Runner component.","url":"https://insights.sbomify.com/CVE-2026-100844/"}