CVE-2026-145083 in MONAIinfo

Summary

by MITRE • 12/04/2026

MONAI through 1.5.2 contains a path traversal vulnerability in download_large_files that allows attackers to write files outside the bundle directory via unvalidated large_files paths. Attackers can distribute a malicious bundle whose large_files.yml uses absolute or ../ paths with attacker-controlled hashes to overwrite files like SSH authorized_keys or cron entries.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 12/04/2026

The MONAI framework, specifically through version 1.5.2, contains a critical path traversal vulnerability within the download_large_files function that stems from insufficient validation of file paths provided in bundle configuration files. This flaw allows an attacker to manipulate the destination directory for downloaded assets by supplying absolute paths or relative sequences containing parent directory references such as ../. The underlying technical mechanism involves the application accepting user-supplied input from a large_files.yml manifest without sanitizing it against directory traversal patterns before constructing the final file system path. Consequently, when the framework processes this configuration to fetch and store specified files, it fails to enforce strict boundary checks that would restrict writes exclusively to the intended bundle root directory. This lack of validation creates a direct vector for arbitrary file write operations on the host operating system where MONAI is executed.

The operational impact of this vulnerability is severe due to its potential for remote code execution and persistent access establishment by an attacker distributing malicious bundles. By leveraging absolute paths or carefully crafted relative path sequences, an adversary can overwrite critical system configuration files located outside the sandboxed bundle environment. Specific high-value targets include SSH authorized_keys files, which would allow the attacker to inject public keys for passwordless authentication into user accounts such as root or other privileged users. Additionally, attackers may target cron entry configurations to schedule malicious scripts that execute periodically with elevated privileges. This capability transforms a simple data download utility into a powerful persistence mechanism, enabling long-term control over compromised systems without requiring immediate exploitation of additional vulnerabilities like command injection.

From an industry standards perspective, this vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory, which describes flaws where software does not properly neutralize path sequences that can resolve to a parent directory or outside the intended restricted location. The attack pattern aligns with MITRE ATT&CK technique T1505.003: Server Component Configuration Hijacking, as it involves modifying configuration files of server components to maintain access. Furthermore, the initial vector relates to CWE-20: Improper Input Validation, highlighting the failure to sanitize external input before processing. The exploitation relies on social engineering or supply chain compromise where a user is tricked into loading a malicious bundle that contains the crafted large_files.yml manifest with attacker-controlled hashes and paths.

Mitigation strategies must focus on both immediate remediation and long-term architectural improvements. Users should immediately upgrade MONAI to version 1.5.3 or later, which addresses this path traversal issue by implementing strict input validation for file paths within the download_large_files function. In environments where upgrading is not instantly feasible, administrators can implement a defense-in-depth approach by restricting network egress policies and monitoring filesystem writes in sensitive directories such as /etc/ssh and crontab locations using host-based intrusion detection systems. Additionally, developers should enforce strict allow-listing of bundle sources to ensure that only trusted repositories are processed for large file downloads. Future development cycles must prioritize the implementation of canonical path resolution checks before any write operations occur, ensuring that all resolved paths remain strictly within the designated application directory boundaries regardless of input content.

Responsible

VulnCheck

Reservation

12/04/2026

Disclosure

12/04/2026

Moderation

accepted

CPE

ready

EPSS

0.00842

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!