Description
MONAI from 1.2.0 before 1.6.1 contains a remote code execution vulnerability in ConfigWorkflow.__init__, which passes a bundle's configs/logging.conf to logging.config.fileConfig that eval()s handler class and args fields. Attackers can publish a malicious bundle whose logging.conf runs arbitrary Python at workflow construction when a victim loads or runs the bundle.
Published: 2026-10-28
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch
AI Analysis

Impact

MONAI versions 1.2.0 through 1.6.1 contain a flaw that lets an attacker trigger arbitrary Python code during bundle loading. The vulnerability lies in ConfigWorkflow.__init__, which passes the bundle’s configs/logging.conf to logging.config.fileConfig; that function evals the handler class and args fields. If an attacker supplies a malicious bundle, the logging configuration is executed immediately when the victim constructs the workflow, resulting in full code execution within the process. The weakness is a classic code injection flaw with CWE‑94, and the impact is complete compromise of confidentiality, integrity, and availability.

Affected Systems

The affected product is MONAI from Project‑MONAI. All deployments using MONAI 1.2.0 up to and including 1.6.1 are vulnerable, regardless of operating system or hosting environment. No specific platform scope is given; the issue applies to every install that can load third‑party bundles.

Risk and Exploitability

The flaw has a CVSS score of 8.6, indicating high severity. No EPSS score is reported, so the current exploitation probability cannot be quantified, but the existence of a remote code execution vector and the lack of mitigation on vulnerable builds suggests a significant risk. The vulnerability is not listed in the CISA KEV catalog, but that does not diminish the potential for abuse if attackers target installations that rely on user‑supplied bundles.

Generated by OpenCVE AI on October 28, 2026 at 20:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the MONAI patch that disables eval in logging configuration and deploy a version 1.6.1 or later
  • Configure the system to reject or sanitize bundle configs/logging.conf before they are processed, ensuring that handler classes and arguments cannot be executed
  • Limit bundle ingestion to trusted sources and enforce strict authentication and integrity verification on any bundles that are loaded

Generated by OpenCVE AI on October 28, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Description MONAI from 1.2.0 before 1.6.1 contains a remote code execution vulnerability in ConfigWorkflow.__init__, which passes a bundle's configs/logging.conf to logging.config.fileConfig that eval()s handler class and args fields. Attackers can publish a malicious bundle whose logging.conf runs arbitrary Python at workflow construction when a victim loads or runs the bundle.
Title MONAI 1.2.0 before 1.6.1 Code Execution via bundle configs/logging.conf
First Time appeared Project-monai
Project-monai monai
Weaknesses CWE-94
CPEs cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:*
Vendors & Products Project-monai
Project-monai monai
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Project-monai Monai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T18:59:53.203Z

Reserved: 2026-10-28T17:28:46.442Z

Link: CVE-2026-118683

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-28T19:17:35.160

Modified: 2026-10-28T19:17:35.280

Link: CVE-2026-118683

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T20:30:07Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')