MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-21851
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:58 UTC · Revision 1
Source evidence
MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download
core-osv · Original sourcePublished 7 Jan 2026, 22:27 UTC
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.
osv:CVE-2026-21851
Complete source record
{
"id": "5fa0366b0251068ef91f3a4cca8f2b654bd27317579a9d8d7bb5ff6621b0f74d",
"url": "https://osv.dev/vulnerability/CVE-2026-21851",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download",
"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.",
"evidence": "osv:CVE-2026-21851",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-21851",
"aliases": [
"CVE-2026-21851",
"GHSA-9rg3-9pvr-6p27",
"PYSEC-2026-1678"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/project-monai/monai",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "4014c8475626f20f158921ae0cf98ed259ae4d59"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:project-monai:monai:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.5.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4014c8475626f20f158921ae0cf98ed259ae4d59"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.5.1",
"1.5.0",
"1.5.0rc1",
"1.4.1rc1",
"1.4.0",
"1.4.0rc12",
"1.4.0rc11",
"1.4.0rc10",
"1.4.0rc9",
"1.4.0rc8",
"1.4.0rc7",
"1.4.0rc6",
"1.4.0rc5",
"1.4.0rc4",
"1.4.0rc3",
"1.4.0rc2",
"1.4.0rc1",
"1.3.3rc1",
"1.3.1",
"1.3.1rc8",
"1.3.1rc7",
"1.3.1rc6",
"1.3.1rc5",
"1.3.1rc4",
"1.3.1rc3",
"1.3.1rc2",
"1.3.1rc1",
"1.3.0",
"1.3.0rc5",
"1.3.0rc4",
"1.3.0rc3",
"1.3.0rc2",
"1.3.0rc1",
"1.2.0",
"1.2.0rc7",
"1.2.0rc6",
"1.2.0rc5",
"1.2.0rc4",
"1.2.0rc2",
"1.2.0rc1",
"1.1.0",
"1.1.0rc2",
"1.1.0rc1",
"1.0.0rc3",
"1.0.0rc2",
"1.0.0rc1",
"0.9.1",
"0.9.1rc5",
"0.9.1rc4",
"0.9.1rc3",
"0.9.1rc2",
"0.9.1rc1",
"0.9.0",
"0.9.0rc3",
"0.9.0rc2",
"0.9.0rc1",
"0.8.1",
"0.8.1rc5",
"0.8.1rc4",
"0.8.1rc3",
"0.8.1rc2",
"0.8.1rc1",
"0.8.0",
"0.8.0rc3",
"0.8.0rc2",
"0.8.0rc1",
"0.7.0",
"0.7.0rc5",
"0.7.0rc4",
"0.7.0rc3",
"0.7.0rc2",
"0.7.0rc1",
"0.6.0",
"0.6.0rc2",
"0.6.0rc1",
"0.5.2",
"0.5.1",
"0.5.0",
"0.5.0rc5",
"0.5.0rc4",
"0.5.0rc3",
"0.5.0rc2",
"0.5.0rc1",
"0.4.0",
"0.4.0rc2",
"0.4.0rc1",
"0.3.0",
"0.3.0rc4",
"0.3.0rc3",
"0.3.0rc2",
"0.3.0rc1",
"0.2.0",
"0.2.0rc3",
"0.2.0rc2",
"0.2.0rc1",
"0.1.0",
"0.1.0rc2",
"0.1.0rc1",
"0.1a1.dev9",
"0.1a1.dev8",
"0.1a1.dev7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21851.json"
}
}
],
"modified": "2026-10-28T02:30:23.379745472Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21851.json",
"https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27",
"https://nvd.nist.gov/vuln/detail/CVE-2026-21851",
"https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21851.json"
}
},
"related_cves": [
{
"value": "CVE-2026-21851",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489473,
"published_at": "2026-01-07T22:27:19.41+00:00"
}