{"id":"CVE-2026-119578","kind":"vulnerability","aliases":["CVE-2026-119578"],"related":[],"title":"MONAI: crafted work directory lets attackers run Python code","description":"MONAI from 1.6.0 before 1.6.1 contains a remote code execution vulnerability in Auto3DSeg algo_from_json() that allows attackers to run Python code via a crafted work directory's algo_object.json. Attackers can ship a malicious algorithm_templates module plus a _target_ name that is imported and instantiated when victims call AutoRunner or import_bundle_algo_history, executing code under default configuration.","summary":"MONAI versions 1.6.0 before 1.6.1 load a crafted algo_object.json from a work directory in Auto3DSeg, which imports and instantiates an attacker-supplied module. An attacker who gets a malicious work directory to a victim can run Python code on the victim's machine.","severity":"high","cvss":8.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["medical-imaging","ml-pipelines","monai","package","python"],"not_affected_if":["auto3dseg-unused","trusted-work-directories-only"],"how_to_check":"- Check the installed MONAI version with `pip show monai` and see whether it is `1.6.0` through `1.6.0`-range releases before `1.6.1`.\n- Look for use of `AutoRunner` or `import_bundle_algo_history` in your code or pipelines, since these trigger the load.","fix":"- MONAI: move to `1.6.1` or later.","status":"open","published_at":"2026-10-30T14:16:47+00:00","first_seen_at":"2026-10-30T14:30:54+00:00","triaged_at":"2026-10-30T14:32:32+00:00","updated_at":"2026-10-30T14:32:32+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-30T14:32:32Z","model":"claude-haiku-5-5","output":{"fix":"- MONAI: move to `1.6.1` or later.","reach":"local","title":"MONAI: crafted work directory lets attackers run Python code","impact":"high","summary":"MONAI versions 1.6.0 before 1.6.1 load a crafted algo_object.json from a work directory in Auto3DSeg, which imports and instantiates an attacker-supplied module. An attacker who gets a malicious work directory to a victim can run Python code on the victim's machine.","audience":"developers","category":"package","nicknames":[],"who_cares":["monai","python","medical-imaging","ml-pipelines"],"confidence":0.6,"fix_status":"available","needs_auth":"no","worst_case":"arbitrary Python code runs on the machine that loads the work directory","analyst_note":"Confirm the fixed version and whether the attack needs the victim to open an attacker-supplied directory, using the NVD entry and MONAI release notes.","how_to_check":"- Check the installed MONAI version with `pip show monai` and see whether it is `1.6.0` through `1.6.0`-range releases before `1.6.1`.\n- Look for use of `AutoRunner` or `import_bundle_algo_history` in your code or pipelines, since these trigger the load.","plain_action":"","needs_analyst":true,"not_affected_if":["auto3dseg-unused","trusted-work-directories-only"],"who_is_affected":"Teams that use MONAI's Auto3DSeg features (AutoRunner or import_bundle_algo_history) on work directories they did not create themselves are exposed under default configuration. Projects that do not use Auto3DSeg, or only process work directories they generated, can skip it.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000723,"input_tokens":4181,"output_tokens":610,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-119578':12A,15A '-2026':11A,14A '1.6.0':27B,71C '1.6.1':29B,73C 'algo':82C,123C 'algo_object.json':33B,98C 'algorithm':104C 'allow':86C 'attack':6A,46B,50B,87C,99C 'attacker-suppli':45B 'auto3dseg':39B,81C 'autorunn':119C 'bundl':122C 'call':118C 'code':9A,63B,77C,91C,126C 'configur':129C 'contain':74C 'craft':2A,32B,94C 'cve':10A,13A 'default':128C 'directori':4A,37B,56B,96C 'execut':78C,125C 'get':52B 'histori':124C 'imag':18B 'import':41B,113C,121C 'instanti':43B,115C 'json':84C 'let':5A 'load':30B 'machin':68B 'malici':54B,103C 'medic':17B 'medical-imag':16B 'ml':20B 'ml-pipelin':19B 'modul':48B,106C 'monai':1A,22B,25B,69C 'name':110C 'packag':23B 'pipelin':21B 'plus':107C 'python':8A,24B,62B,90C 'remot':76C 'run':7A,61B,89C 'ship':101C 'suppli':47B 'target':109C 'templat':105C 'version':26B 'via':92C 'victim':59B,66B,117C 'vulner':79C 'work':3A,36B,55B,95C","nicknames":[],"mitigations":[],"who_affected":"Teams that use MONAI's Auto3DSeg features (AutoRunner or import_bundle_algo_history) on work directories they did not create themselves are exposed under default configuration. Projects that do not use Auto3DSeg, or only process work directories they generated, can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"first_public_at":"2026-10-30T14:16:47+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-119578","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119578","severity":null,"published_at":"2026-10-30T14:16:47+00:00","modified_at":"2026-10-30T14:16:47+00:00","first_seen_at":"2026-10-30T14:30:54+00:00","fetched_at":"2026-10-30T14:30:54+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}