CVE-2025-58755
published 2025-09-09CVE-2025-58755: MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. The extractall function `zip_file.extractall(output_dir)` is used directly to…
PriorityP357high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.57%
42.7th percentile
MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. The extractall function `zip_file.extractall(output_dir)` is used directly to process compressed files. It is used in many places in the project. In versions up to and including 1.5.0, when the Zip file containing malicious content is decompressed, it overwrites the system files. In addition, the project allows the download of the zip content through the link, which increases the scope of exploitation of this vulnerability. As of time of publication, no known fixed versions are available.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| monai | medical_open_network_for_ai | <= 1.5.0 | — |
| project-monai | monai | <= 1.5.0 | — |
| project-monai | monai | >= 0 < 1.5.1 | 1.5.1 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
MONAI does not prevent path traversal, potentially leading to arbitrary file writes
ghsa·2025-09-09
CVE-2025-58755 [HIGH] CWE-22 MONAI does not prevent path traversal, potentially leading to arbitrary file writes
MONAI does not prevent path traversal, potentially leading to arbitrary file writes
### Summary
The extractall function ```zip_file.extractall(output_dir)``` is used directly to process compressed files. It is used in many places in the project. When the Zip file containing malicious content is decompressed, it will overwrite the system files. In addition, the project allows the download of the zip content through the link, which increases the scope of exploitation of this vulnerability.
When reproducing locally, follow the process below to create a malicious zip file and simulate the process of remotely downloading the zip file.
```
root@autodl-container-a53c499c18-c5ca272d:~/autodl-tmp/mmm# mkdir -p test_bundle
root@autodl-container-a53c499c18-c5ca272d:~/autodl-tmp/mmm# echo "malicious
OSV
MONAI does not prevent path traversal, potentially leading to arbitrary file writes
osv·2025-09-09
CVE-2025-58755 [HIGH] MONAI does not prevent path traversal, potentially leading to arbitrary file writes
MONAI does not prevent path traversal, potentially leading to arbitrary file writes
### Summary
The extractall function ```zip_file.extractall(output_dir)``` is used directly to process compressed files. It is used in many places in the project. When the Zip file containing malicious content is decompressed, it will overwrite the system files. In addition, the project allows the download of the zip content through the link, which increases the scope of exploitation of this vulnerability.
When reproducing locally, follow the process below to create a malicious zip file and simulate the process of remotely downloading the zip file.
```
root@autodl-container-a53c499c18-c5ca272d:~/autodl-tmp/mmm# mkdir -p test_bundle
root@autodl-container-a53c499c18-c5ca272d:~/autodl-tmp/mmm# echo "malicious
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-09-09
Published