Skip to content
Threat Feed
high advisory

Remote Code Execution in MONAI Bundle Configuration Engine

MONAI versions through 1.6.0 are vulnerable to remote code execution due to insecure deserialization and evaluation of arbitrary Python callables within bundle configuration files.

CVE search metadata

CVE search record: CVE-2026-100840. Severity: high. CVSS: 7.8. KEV: no. Product: MONAI (<= 1.6.0), MONAI (1.6.0), MONAI (< 1.6.0), MONAI (< 1.5.2). Brief: Remote Code Execution in MONAI Bundle Configuration Engine. Brief link: https://feed.craftedsignal.io/briefs/2026-09-monai-rce/

What's new

  • 1. added coverage for MONAI (< 1.5.2) Sep 27, 03:05 via nvd
  • 2. added coverage for MONAI (< 1.6.0) Sep 27, 03:05 via nvd
  • 3. added coverage for MONAI (< 1.6.0) Sep 27, 03:04 via nvd
  • 4. added coverage for MONAI (<= 1.6.0) Sep 27, 03:04 via nvd
  • 5. added coverage for MONAI (1.6.0) Sep 27, 03:04 via nvd

MONAI (Medical Open Network for AI) versions 1.6.0 and earlier contain a critical remote code execution (RCE) vulnerability within the bundle configuration engine. The vulnerability stems from the engine's failure to maintain an allow list when resolving 'target' values to importable callables, combined with the unsafe passing of '$' expressions to the Python 'eval()' function.

An attacker can exploit this by crafting a malicious bundle configuration file and distributing it to unsuspecting users. When a victim loads or executes this bundle using the affected 'monai.bundle.load()' or 'monai.bundle.run()' functions, the engine processes the malicious configuration, resulting in arbitrary code execution on the host system. This vulnerability poses a significant risk to researchers and developers who frequently download and integrate third-party AI bundles, as the malicious code triggers immediately upon processing the configuration.

Impact

Successful exploitation allows for arbitrary code execution in the context of the Python interpreter running the MONAI environment. This could lead to full system compromise, exfiltration of sensitive medical imaging data, or lateral movement within research and development networks.

Recommendation

  • Immediately update MONAI to a version beyond 1.6.0.
  • Avoid loading MONAI bundles from untrusted sources or repositories.
  • Inspect bundle configuration files ('bundle.json' or similar) for unexpected 'target' definitions or embedded '$' expressions before execution.
  • Implement monitoring for child processes spawned by Python interpreter instances running MONAI-related tasks.

Immediate actions

Upgrade all instances of MONAI to a version > 1.6.0

Development 24h

Mitigations

Restrict loading of external MONAI bundles to authorized repositories only

immediate Security Operations

CVE-2026-100840