CVE-2026-21851: MONAI - Path Traversal
- Cve: CVE-2026-21851
- Name: MONAI - Path Traversal
- 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.
- Impact: Attackers can write arbitrary files outside intended directories, potentially leading to code execution or system compromise.
- Remediation: Upgrade to version after 1.5.1 that includes commit 4014c8475626f20f158921ae0cf98ed259ae4d59 or latest version.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.00357
- Epss percentile: 0.29848
- Assignee: [email protected]
- Published at: 2026-01-07T23:15:50Z
- Age in days: 321
- Modified at: 2026-06-17T10:19:01Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21851
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 | nvd | 2026-01-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59 | nvd | Patch |
| https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| project-monai:monai | <= 1.5.1 | no | nvd | /v1/products/project-monai/monai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Project-MONAI/MONAI | commit, fix, package, security_advisory | yes | /v1/repositories/Project-MONAI/MONAI |
Index
- Repositories: 20
- Repositories high signal: 8
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-01-07
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts