Description
MONAI before 1.6.1 contains an insufficient integrity verification vulnerability in check_hash() that silently returns True when hash_val is None, with MD5 as the default hash type. Attackers performing man-in-the-middle or registry compromise can substitute bundles, datasets, or model archives downloaded without hashes, enabling malicious file delivery and potential code execution.
Published: 2026-10-28
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: Remote code execution possible through malicious file downloads
Action: Immediate patch
AI Analysis

Impact

MONAI prior to version 1.6.1 includes a flaw in the check_hash function where the function silently returns true when the supplied hash value is null. The default hash type is MD5, which is insecure, and the function does not properly validate the integrity of downloaded bundles, datasets, or model archives. An attacker who can perform a man‑in‑the‑middle attack or compromise a registry can replace legitimate files with malicious ones, causing the system to accept them without detection. The potential consequence is that arbitrary code can be executed in the context of the MONAI application, leading to full system compromise. The weakness is a classic example of insufficient cryptographic protection (CWE‑327).

Affected Systems

Project‑MONAI’s MONAI library, versions before 1.6.1, is affected. The vulnerability results from the check_hash implementation in this library and applies to any deployment that uses the default MD5 hash without explicit validation.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity level. EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the weakness over a network connection (e.g., a man‑in‑the‑middle scenario) or by compromising a registry that hosts MONAI packages. The risk is that any system that relies on undisturbed downloads from the default sources could be affected, potentially leading to remote code execution. The vulnerability can be exploited with low effort if the attacker can influence the download process or supply a bundle without hashes, resulting in the silent acceptance of malicious content.

Generated by OpenCVE AI on October 28, 2026 at 20:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MONAI to version 1.6.1 or later to eliminate the check_hash flaw
  • Configure the environment so that hash verification is mandatory on all downloads, rejecting any bundle with a missing or null hash
  • Restrict downloads to trusted registries and manually verify checksums when automatic hash checking is disabled

Generated by OpenCVE AI on October 28, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Description MONAI before 1.6.1 contains an insufficient integrity verification vulnerability in check_hash() that silently returns True when hash_val is None, with MD5 as the default hash type. Attackers performing man-in-the-middle or registry compromise can substitute bundles, datasets, or model archives downloaded without hashes, enabling malicious file delivery and potential code execution.
Title MONAI before 1.6.1 Missing Integrity Verification via check_hash in Downloads
First Time appeared Project-monai
Project-monai monai
Weaknesses CWE-327
CPEs cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:*
Vendors & Products Project-monai
Project-monai monai
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Project-monai Monai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T18:59:54.186Z

Reserved: 2026-10-28T17:28:46.442Z

Link: CVE-2026-118684

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-28T19:17:35.320

Modified: 2026-10-28T19:17:35.440

Link: CVE-2026-118684

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T20:30:07Z

Weaknesses
  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm