Vulnerability record
MONAI before 1.6.2 Code Execution via load_from_mmar Checkpoint Config
MONAI before 1.6.2 contains an arbitrary code execution vulnerability in monai.apps.mmars.load_from_mmar(), which imports and instantiates any callable named by the path and args fields of an untrusted checkpoint's train_conf data without restriction. Attackers can supply a malicious MMAR checkpoint specifying subprocess.Popen with arbitrary arguments, executing commands when it is loaded despite torch.load weights_only=True.
8.7/CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitability
AV:NAC:LAT:NPR:NUI:PImpact
VC:HVI:HVA:HSC:NSI:NSA:NRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources