CVE-2026-21851 Details
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.
A path traversal vulnerability, known as Zip Slip, has been identified in the MONAI toolkit for healthcare imaging, specifically in versions through 1.5.1. The vulnerability arises in the `_download_from_ngc_private()` function, which uses `zipfile.ZipFile.extractall()` to extract files from a ZIP archive without proper path validation. This oversight could allow a malicious ZIP file to write files outside the intended extraction directory. In contrast, other download functions in MONAI's codebase correctly utilize a safe extraction method that prevents such path traversal.
Users can update to MONAI version 1.5.2 or later, where this vulnerability has been fixed. The patch replaces the direct use of `zipfile.ZipFile.extractall()` with a call to MONAI's safe extraction utility, which properly validates member paths to prevent path traversal attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59 | [email protected] | Patch |
| https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| project-monai monai | <= 1.5.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 2, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | CVE Modified | CISA-ADP |
| Jan 7, 2026 | New CVE Received | [email protected] |