Path Traversal in Project-Monai Monai
CVE-2026-21851
MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. In versions up to and including 1.5.1, a Path Traversal (Zip Slip) vulnerability exists in MONAI's `_download_from_ngc_private()` function. The function uses `zipfile.ZipFile.extractall()` without path validation, while other similar download functions in the same codebase properly use the existing `safe_extract_member()` function. Commit 4014c8475626f20f158921ae0cf98ed259ae4d59 fixes this issue.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.004, 30.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Project-Monai Monai — versions <= 1.5.1
Weakness classification (CWE)
References
- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 (Exploit, Mitigation, Vendor Advisory)
- https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59 (Patch)