# CVE-2026-21851: MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-06T17:32:52.000Z
- Modified: 2026-07-07T17:56:28.849Z
- Also known as: GHSA-9rg3-9pvr-6p27, PYSEC-2026-1678
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Project-MONAI MONAI: <= 1.5.1; up to 1.5.1
- monai (PyPI): before 1.5.2

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21851> (advisory)
- <https://github.com/Project-MONAI/MONAI> (package)
- <https://pypi.org/project/monai> (package)
- <https://github.com/advisories/GHSA-9rg3-9pvr-6p27> (advisory)

## Sources

- CVE List: [CVE-2026-21851](https://www.cve.org/CVERecord?id=CVE-2026-21851), CVE Terms of Use, modified 2026-01-08
- GitHub Advisory Database: [GHSA-9rg3-9pvr-6p27](https://github.com/advisories/GHSA-9rg3-9pvr-6p27), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-21851](https://nvd.nist.gov/vuln/detail/CVE-2026-21851), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1678](https://osv.dev/vulnerability/PYSEC-2026-1678), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-21851 · Whole record: https://cve.day/CVE-2026-21851.json · Rebuilt by cve.day 2026-11-25T22:59:12.649Z
