Description
MONAI 1.2.0 before 1.6.1 contains an insecure deserialization vulnerability in nnUNetV2Runner that unpickles the postprocessing_file path read from inference_information.json without confining it to the results directory. Attackers who can modify inference_information.json can point it at a malicious pickle elsewhere on the filesystem to execute code when predict_ensemble_postprocessing runs.
Published: 2026-10-12
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the nnUNetV2Runner component of MONAI, where the library unpickles a file path read from the inference_information.json configuration file without restricting the path to the intended results directory. Because the pickle is deserialized without validation, an attacker who can alter inference_information.json can direct the loader to a malicious pickle file residing elsewhere in the file system. When the predict_ensemble_postprocessing routine executes, the Python pickle will run the embedded code, allowing the attacker to execute arbitrary commands on the host system and fully compromise the application. This flaw is an instance of insecure deserialization (CWE‑502) and can lead to a full remote code execution threat.

Affected Systems

The issue affects the MONAI library from Project‑MONAI, with all releases from version 1.2.0 up through but excluding 1.6.1. Users running MONAI versions 1.2.0, 1.3.x, 1.4.x, 1.5.x, and 1.6.0 are susceptible. The vulnerability is present in any deployment that utilizes the nnUNetV2Runner with the postprocessing_file feature.

Risk and Exploitability

The CVSS score of 7 indicates moderate severity, but the exploit requires the ability to write to the inference_information.json file, situating it as a local privilege‑elevating or file‑modification scenario. Because EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, it has not yet been observed in widespread exploitation campaigns. Nonetheless, the attack path is straightforward: modify the JSON configuration to point to a crafted pickle, then trigger predict_ensemble_postprocessing to deserialize it, executing arbitrary code on the running host. The resulting impact could be total system compromise if the attacker obtains sufficient privileges on the machine.

Generated by OpenCVE AI on October 12, 2026 at 19:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MONAI to version 1.6.1 or later, where the deserialization check has been tightened and the path is confined to the results directory.
  • Ensure that the inference_information.json file is stored in a protected location and that write permissions are limited to trusted users or processes.
  • If an upgrade is not immediately possible, patch the nnUNetV2Runner code to validate the postprocessing_file path, rejecting file references outside the designated results directory or treating all external paths as untrusted.

Generated by OpenCVE AI on October 12, 2026 at 19:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description MONAI 1.2.0 before 1.6.1 contains an insecure deserialization vulnerability in nnUNetV2Runner that unpickles the postprocessing_file path read from inference_information.json without confining it to the results directory. Attackers who can modify inference_information.json can point it at a malicious pickle elsewhere on the filesystem to execute code when predict_ensemble_postprocessing runs.
Title MONAI 1.2.0 before 1.6.1 Insecure Deserialization RCE via nnUNetV2Runner postprocessing_file Path
First Time appeared Project-monai
Project-monai monai
Weaknesses CWE-502
CPEs cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:*
Vendors & Products Project-monai
Project-monai monai
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Project-monai Monai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T20:38:53.960Z

Reserved: 2026-10-12T14:21:32.594Z

Link: CVE-2026-109361

cve-icon Vulnrichment

Updated: 2026-10-26T20:38:46.108Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:33.630

Modified: 2026-10-26T21:17:27.723

Link: CVE-2026-109361

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T21:00:14Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data