{"id":"CVE-2025-58755","published":"2025-09-08T23:35:41Z","modified":"2025-09-09T13:29:04Z","title":"MONAI has path traversal issue that may lead to arbitrary file writes","vendor":"Project-MONAI","product":"MONAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00803,"percentile":0.53501,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-x6ww-pf9m-m73m","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":10.7},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"project-monai","affectedVersions":[{"vendor":"Project-MONAI","product":"MONAI","versions":["<= 1.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-09-09T13:13:10.496197Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"monai","vulnerableRanges":["<1.5.1","<1.5.1rc1"],"patched":["1.5.1","1.5.1rc1"],"from":["GHSA-x6ww-pf9m-m73m","PYSEC-2025-140"],"provenance":"source"}],"summary":{"text":"The MONAI toolkit's zip extraction code, which calls zip_file.extractall(output_dir) on compressed files across many parts of the project, fails to restrict where extracted paths land, so a crafted archive can cause files to be written outside the intended directory. An attacker with low privileges and network access can exploit this without user interaction by supplying a malicious zip file, including via the project's download-by-link feature, to overwrite system files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:28Z"},"euvd":{"id":"EUVD-2025-27191","exploited":false,"provenance":"source"}}