CVE-2025-58757: Monai: Unsafe use of Pickle deserialization may lead to RCE
(updated )
The pickle_operations
function in monai/data/utils.py
automatically handles dictionary key-value pairs ending with a specific suffix and deserializes them using pickle.loads() . This function also lacks any security measures.
When verified using the following proof-of-concept, arbitrary code execution can occur.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-58757 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →