CVE-2026-100840

MONAI through 1.6.0 Remote Code Execution via bundle configuration

Published Sep 27, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
MONAI through 1.6.0 contains a remote code execution vulnerability in the bundle configuration engine that resolves _target_ values to arbitrary importable callables without an allow list and passes $ expressions to Python eval(). Attackers can publish a malicious bundle with crafted configuration containing arbitrary code that executes when a victim loads the bundle using monai.bundle.load() or monai.bundle.run().

Analysis

AI-generated

Technical impact

A bug in the MONAI bundle configuration engine allows an attacker to inject arbitrary callable references and Python expressions into a bundle. The engine performs dynamic importing and evaluates $ expressions using eval() without any allow list, meaning that data placed in the _target_ field of a bundle can trigger execution of code on the host. When a victim uses monai.bundle.load() or monai.bundle.run() to load a malicious bundle, the application will execute that code with the permissions of the running process, giving the attacker full control over the affected system.

Affected Systems

The vulnerability affects all versions of MONAI up to and including 1.6.0. It is present in the Project‑MONAI MONAI library and any deployments that rely on these bundle loading functions.

Risk and Exploitability

The CVSS score of 8.5 classifies the issue as a high‑severity remote code execution flaw. No EPSS score is currently published, and it is not listed in the CISA KEV catalog. The recommended attack scenario is that an attacker publishes a malicious bundle that a victim downloads and loads locally or remotely via an insecure channel; the lack of an allow list and the use of eval() provide a straightforward exploitation path when the victim processes the bundle.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MONAI to version 1.6.1 or later where the bundle configuration engine has been hardened against arbitrary callable imports and the eval() usage has been removed or protected.
  • Restrict bundle loading to trusted sources by employing bundle signatures, checksums, or an allow list of permitted callables, and avoid loading untrusted or community‑provided bundles in production environments.
  • Audit and sanitize any custom bundle configuration files before loading them, ensuring that no $ expressions or _target_ values reference untrusted code.

Generated by OpenCVE AI on September 27, 2026 at 03:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description MONAI through 1.6.0 contains a remote code execution vulnerability in the bundle configuration engine that resolves _target_ values to arbitrary importable callables without an allow list and passes $ expressions to Python eval(). Attackers can publish a malicious bundle with crafted configuration containing arbitrary code that executes when a victim loads the bundle using monai.bundle.load() or monai.bundle.run().
Title MONAI through 1.6.0 Remote Code Execution via bundle configuration
First Time appeared Project-monai
Project-monai monai
Weaknesses CWE-95
CPEs cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:*
Vendors & Products Project-monai
Project-monai monai
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}

Weaknesses
  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 28, 2026, 4:46 PM
Reserved
Sep 26, 2026, 11:23 PM
Status
Analyzed
Published
Sep 27, 2026, 2:17 AM
Modified
Sep 30, 2026, 3:40 PM