CVE-2026-118684

MONAI before 1.6.1 Missing Integrity Verification via check_hash in Downloads

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

Analysis

AI-generated

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

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

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

Weaknesses
  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 4, 2026, 8:24 PM
Reserved
Oct 28, 2026, 5:28 PM
Status
Deferred
Published
Oct 28, 2026, 7:17 PM
Modified
Nov 4, 2026, 9:17 PM