CVE-2026-118683: MONAI 1.2.0 before 1.6.1 Code Execution via bundle configs/logging.conf

Published Oct 28, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/monai>=1.2.0<1.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MONAI to a version that resolves this vulnerability.

    Fixed in 1.6.1

Event History

Oct 28, 2026
CVE Published
via MITRE·06:59 PM
Data Sourced
via MITRE·06:59 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of MONAI versions from 1.2.0 up to, but not including, 1.6.1 are exposed if they load or run a bundle supplied by an untrusted party. The vulnerable behavior occurs during workflow construction.

2

What does an attacker need to do to exploit it?

An attacker needs to publish or otherwise provide a malicious MONAI bundle containing a crafted configs/logging.conf file. When a victim loads or runs that bundle, fields in the logging configuration can cause arbitrary Python code to execute.

3

Is user interaction required?

Yes. Exploitation requires a victim to load or run the attacker-controlled bundle; the attacker does not need prior privileges in the victim environment.

4

What can be done if upgrading is not immediately possible?

Do not load or run bundles from untrusted sources, and review bundle configs/logging.conf files before workflow construction. In particular, treat handler class and args fields in logging.conf as potentially executable input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203