CVE-2026-145609: MONAI before 1.6.2 Code Execution via Untrusted nnUNet Bundle plans.json

Published Dec 6, 2026
·
Updated

MONAI before 1.6.2 contains an unsafe class loading vulnerability in nnunetbundle.py that allows attackers to invoke arbitrary callables via an attacker-controlled plans.json networkclassname. Attackers can distribute a malicious nnUNet bundle whose class name is resolved by pydoc.locate, overwriting arbitrary files and potentially achieving code execution.

Affected Software

1 affected component
pypi/monai<1.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.6.2

Event History

Dec 6, 2026
CVE Published
via MITRE·12:17 AM
Data Sourced
via MITRE·12:17 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:18 AM
DescriptionSeverityWeakness
Event
via NVD·01:18 AM

Frequently Asked Questions

1

Who is exposed to this issue?

Users of MONAI versions before 1.6.2 are exposed when they load an attacker-controlled or otherwise untrusted nnUNet bundle containing a malicious plans.json file.

2

What does an attacker need to exploit it?

The attacker needs to get a malicious nnUNet bundle accepted and loaded by the target. Exploitation relies on controlling the network_class_name value in plans.json.

3

Are installations affected by default?

The issue requires user interaction and loading a malicious bundle. The provided information does not indicate that merely installing MONAI triggers exploitation.

4

What can be done before upgrading?

Do not load nnUNet bundles from untrusted sources, and validate the provenance and contents of plans.json files before use. Upgrade MONAI to version 1.6.2 or later when possible.

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