All vulnerabilities

PyPI

CVE-2026-118683

MONAI 1.2.0 before 1.6.1 Code Execution via bundle configs/logging.conf

Severity
High 8.6
Published
28 Oct 2026
Last changed
29 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.6.1
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
monaiPyPI · osv:PyPI:monai
  • From 1.2.0 before 1.6.1

About monai

Weekly downloads (PyPI)
77,122PyPI Stats, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118683