CVE-2026-145611: MONAI before 1.6.2 Path Traversal via BundleAlgo.export_to_disk() algo_name
MONAI before 1.6.2 contains a path traversal vulnerability in BundleAlgo.exporttodisk() that fails to verify that a caller-supplied algoname stays under outputpath. Attackers who control algoname, or an algos mapping key passed to BundleGen, can supply '../' sequences or absolute paths to recursively delete directories and copy template files outside the output directory.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using MONAI before 1.6.2 are exposed if an attacker can control the algo_name passed to BundleAlgo.export_to_disk(), or control an algos mapping key supplied to BundleGen. The vulnerable path handling can be reached remotely without authentication or user interaction according to the supplied vector.
What can an attacker do through exploitation?
An attacker can use ../ sequences or absolute paths to escape output_path. This can cause recursive deletion of directories and copying of template files outside the intended output directory.
Which versions should be remediated?
MONAI versions before 1.6.2 are affected. Update to version 1.6.2 or later.