LiveActive security incident?Get immediate response
CVE Record

CVE-2026-21851: 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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

MONAI versions 1.5.1 and earlier have a Zip Slip path traversal flaw in a private NGC bundle download function. If a user downloads and extracts a malicious bundle through this path, files outside the intended directory could be overwritten. This is a medium-severity integrity risk, not currently listed as actively exploited.

Executive priority

Treat as a targeted remediation item for healthcare AI and imaging environments using MONAI. It is not an emergency based on current sources, but affected private bundle workflows should be fixed promptly because successful exploitation can alter files and undermine workflow integrity.

Technical view

The vulnerable `_download_from_ngc_private()` function uses Python `zipfile.ZipFile.extractall()` without path validation. Similar MONAI functions use `safe_extract_member()`. A crafted ZIP with traversal paths could write outside the target extraction directory. The advisory maps this to CWE-22 and CVSS 3.1 score 5.3: network, high complexity, no privileges, user interaction required, high integrity impact.

Likely exposure

Organizations using Project-MONAI MONAI up to and including 1.5.1 are potentially exposed, especially workflows that download private NGC bundles. Exposure depends on whether this specific private bundle download path is used and whether untrusted or compromised bundle archives can be processed.

Exploitation context

Sources do not report active exploitation, and it is not marked CISA KEV. Exploitation requires user interaction and a crafted archive processed through the affected function. The main business risk is unauthorized file overwrite on systems running MONAI workflows, potentially affecting model files, scripts, or configuration integrity.

Researcher notes

The key code issue is inconsistent use of safe extraction logic: the private NGC download path used `extractall()` while comparable functions used `safe_extract_member()`. Public sources identify the fixing commit but do not provide evidence of exploitation in the wild or broader product impact beyond MONAI <= 1.5.1.

Mitigation direction

  • Identify MONAI installations and versions in affected environments.
  • Prioritize systems using NGC private bundle downloads.
  • Update to a vendor-fixed MONAI release when available.
  • If no release is available, evaluate applying commit 4014c8475626f20f158921ae0cf98ed259ae4d59.
  • Restrict bundle sources to trusted channels until remediated.
  • Monitor Project-MONAI advisory updates for official remediation guidance.

Validation and detection

  • Confirm installed MONAI version is greater than 1.5.1 or includes the fix commit.
  • Review dependency manifests, containers, notebooks, and ML pipelines for MONAI usage.
  • Check whether `_download_from_ngc_private()` is reachable in operational workflows.
  • Inspect remediation by verifying path validation is used during ZIP extraction.
  • Review recent bundle download activity for unexpected file changes outside extraction paths.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-21851 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N1.63.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2026-21851Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Project-MONAIMONAI<= 1.5.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.