Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-118683: MONAI allows malicious bundle to run code

CVE-2026-118683 · published 1 month ago
Summary

Versions 1.2.0 through 1.6.0 of MONAI can execute any Python code when a specially crafted logging configuration file is included in a bundle. If a user loads or runs such a bundle, the code runs automatically. Upgrade to MONAI 1.6.1 or later and only use bundles from trusted sources.

What to do
  • Update project-monai monai to version 1.6.1 or later.
Affected software
VendorProductAffected versions
project-monai monai < 1.6.1
Original advisory text
MONAI 1.2.0 before 1.6.1 Code Execution via bundle configs/logging.conf
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-94Code Injection
Timeline
Published28 Oct 2026
Updated2 Dec 2026
First seen28 Oct 2026
Sources
CVE-2026-118683 · MITRE
Track software like this
Free during beta