CVE-2026-109361

MONAI 1.2.0 before 1.6.1 Insecure Deserialization RCE via nnUNetV2Runner postprocessing_file Path

Published Oct 12, 2026 CVSS 4.0 · 7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 8:38 PM
Reserved
Oct 12, 2026, 2:21 PM
Status
Deferred
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 26, 2026, 9:17 PM