MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Project-MONAI | MONAI | up to 1.5.1 | — | No fix listed | CNA |
| — | monai (PyPI) | before 1.5.2 | 1.5.2 | Patch available | GHSA-9rg3-9pvr-6p27 |
- MONAI VendorProject-MONAI Affected up to 1.5.1 Fixed in — No fix listed CNA
- monai (PyPI) Vendor— Affected before 1.5.2 Fixed in 1.5.2 Patch available GHSA-9rg3-9pvr-6p27
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:* | up to 1.5.1 | Vulnerable | Project-MONAI |
- cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:* Versions up to 1.5.1 Vulnerable ·Project-MONAI
Remediation
- Fix · GHSA-9rg3-9pvr-6p27 monai (PyPI) Fixed in 1.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-21851
- 2026-10-03 Alias added: GHSA-9rg3-9pvr-6p27
References
More Project-MONAI Monai vulnerabilities
- TI-2026-64984 MONAI before 1.5.2 Remote Code Execution via Pickle Deserialization CVSS 4.0HIGH 8.8
- TI-2026-64983 MONAI before 1.6.0 Remote Code Execution via NumpyReader CVSS 4.0HIGH 8.5
- TI-2026-64982 MONAI before 1.6.0 OS Command Injection via dataset_name_or_id CVSS 4.0HIGH 8.6
- TI-2026-64981 MONAI before 1.6.0 Remote Code Execution via algo_from_pickle CVSS 4.0HIGH 8.5
- TI-2026-64978 MONAI through 1.6.0 Remote Code Execution via bundle configuration CVSS 4.0HIGH 8.5
- TI-2026-64980 MONAI through 1.6.0 _get_fake_spatial_shape eval() Sandbox Bypass via Attribute Chains CVSS 4.0HIGH 7.3
Sources
- CVE-2026-21851 · CVE Program
- CVE-2026-21851 · NVD
- FIRST EPSS
- GHSA-9rg3-9pvr-6p27 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences