Vulnerability · Published Jan 7, 2026 · Assigned by GitHub_M
CVE-2026-21851MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download
Medium 5.3
In plain English
A medium-severity path traversal in MONAI from Project-MONAI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | monai | 1.5.2 | GHSA-9rg3-9pvr-6p27 |
| PyPI | monai | 1.5.2 | PYSEC-2026-1678 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Project-MONAI | MONAI | <= 1.5.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N