Project-MONAI MONAI insecure deserialization in algo_from_pickle

Severity: high · CVSS 7.6 · Published 2026-04-07

MONAI, a popular framework for medical AI, contains a vulnerability in its 3D segmentation utility. An attacker could provide a specially crafted file that, when processed by the software, allows them to execute arbitrary commands on the underlying system. This could lead to a complete system takeover, data theft, or disruption of medical research operations.

Technologies: monai (PyPI). Vendors: PyPI.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
High severity, with a CVSS score of 7.6, published 7 April 2026.
Which products and versions are affected?
monai (PyPI) < 1.6.0.
Is there a fix for This vulnerability?
A patch was published on 2026-04-07: Version 1.6.0 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is This vulnerability attacked?
It is attacked over the network, in a software library.
Am I affected?
Check whether you run monai (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A deserialization vulnerability (CWE-502) exists in the `algo_from_pickle` function within `monai/auto3dseg/utils.py`. The function uses the Python `pickle.loads()` method on data read directly from a file without any prior validation or sanitization. An attacker with the ability to provide a malicious `.pkl` file can achieve arbitrary remote code execution (RCE) when the file is processed. The vulnerability is mitigated by the requirement for high privileges and user interaction (loading the file), but it results in a scope change and high impact on confidentiality, integrity, and availability. This issue is resolved in version 1.6.0.

Affected products

  • Project-MONAI monai < 1.6.0

Timeline

  • 2026-04-03: disclosed: Initial disclosure to Project-MONAI
  • 2026-04-07: advisory: GitHub Advisory published
  • 2026-04-07: patched: Version 1.6.0 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.