{"id":"CVE-2026-21851","published":"2026-01-07T22:27:19Z","modified":"2026-01-08T20:09:55Z","title":"MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download","vendor":"Project-MONAI","product":"MONAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.30584,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":6.12},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"project-monai","affectedVersions":[{"vendor":"Project-MONAI","product":"MONAI","versions":["<= 1.5.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-08T20:09:52.023174Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"monai","vulnerableRanges":["<1.5.2"],"patched":["1.5.2"],"from":["GHSA-9rg3-9pvr-6p27","PYSEC-2026-1678"],"provenance":"source"}],"summary":{"text":"The MONAI toolkit (product: MONAI, Project-MONAI) contains a path traversal (\"Zip Slip\") flaw in its _download_from_ngc_private() function, which extracts downloaded zip archives with zipfile.ZipFile.extractall() without validating member paths, unlike other download functions in the codebase. An attacker could write files outside the intended extraction directory, but this requires a user to perform an interaction such as downloading a crafted private NGC bundle, and the attack is rated as high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:10Z"},"euvd":{"id":"EUVD-2026-1039","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-58756","published":"2025-09-08","fixed":"1.5.1","kev":false},{"cve":"CVE-2025-58757","published":"2025-09-08","fixed":"1.5.1","kev":false,"link":{"from":"CVE-2025-58757","to":"CVE-2026-21851","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:monai","fromFixed":"1.5.1","toFixed":"1.5.2","daysApart":121}]}},{"cve":"CVE-2026-100846","published":"2026-09-27","fixed":"1.5.2","kev":false},{"cve":"CVE-2026-21851","published":"2026-01-07","fixed":"1.5.2","kev":false},{"cve":"CVE-2026-100843","published":"2026-09-27","fixed":"1.6.0","kev":false},{"cve":"CVE-2026-100844","published":"2026-09-27","fixed":"1.6.0","kev":false},{"cve":"CVE-2026-100845","published":"2026-09-27","fixed":"1.6.0","kev":false}],"package":"PyPI:monai"}}