CVE-2026-119578: MONAI Auto3DSeg remote code execution via algo_from_json

CVE-2026-119578 · Severity: high · CVSS 7.8 · Published 2026-10-30

MONAI is a medical imaging AI framework used to build and train deep learning models. A vulnerability in the Auto3DSeg module allows attackers to execute arbitrary Python code when a researcher or clinician loads a shared work directory (such as a benchmark or trained model bundle) through AutoRunner or import_bundle_algo_history. An attacker can create a malicious directory that runs code with the privileges of the victim user as soon as it is loaded, without requiring any user interaction beyond opening the bundle.

Technologies: Project-MONAI MONAI. Vendors: Project-MONAI.

Quick answers

Is CVE-2026-119578 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-119578 being exploited in the wild.
How severe is CVE-2026-119578?
High severity, with a CVSS score of 7.8, published 30 October 2026.
Which products and versions are affected?
Project-MONAI MONAI 1.6.0 through 1.6.0rc1.
Is there a fix for CVE-2026-119578?
Yes: fixed in 1.6.1. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-119578 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-119578?
Check whether you run Project-MONAI MONAI at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 1.6.1

Technical details

The algo_from_json() function in Auto3DSeg reads an untrusted algo_object.json file and directly instantiates the _target_ field via ConfigParser.instantiate(), which uses pydoc.locate to import and call the named Python class. The function also adds attacker-controlled directories (algorithm_templates and template_path) to sys.path before instantiation, allowing a malicious module to be imported and executed. This occurs during AutoRunner construction before any dataset validation, with no MONAI_ALLOW_PICKLE gating in the default configuration.

Affected products

  • Project MONAI MONAI 1.6.0 through 1.6.0rc1

Timeline

  • 2026-10-15: disclosed
  • 2026-10-30: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.