CVE-2026-21851 json
MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download
published 2026-01-06 10 mo ago modified 2026-07-07 4 mo ago also EUVD-2026-1039 , GHSA-9rg3-9pvr-6p27 , PYSEC-2026-1678
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi monai 1.5.2
- monai medical_open_network_for_ai 1.5.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | monai | <1.5.2 |
1.5.2 |
Affected products
- Project-MONAI MONAI
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59
web, patch
-
github.com
/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27
exploit, web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-21851
advisory
-
github.com
/Project-MONAI/MONAI
package
-
pypi.org
/project/monai
package
-
github.com
/advisories/GHSA-9rg3-9pvr-6p27
advisory
Sources
- CVE List CVE-2026-21851
- GitHub Advisory GHSA-9rg3-9pvr-6p27
- NVD CVE-2026-21851
- OSV PYSEC-2026-1678
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.