p PatchFirst

CVE-2026-21851

CVE-2026-21851 · MONAI has Path Traversal (Zip Slip) in NGC Private Bundle Download

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • monai

    Versions
    • <= 1.5.1: Affected

    No fix published

  • monai PyPI

    Versions
    • 0.0.1
    • 0.1.0
    • 0.2.0
    • 0.3.0
    • 0.4.0
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.5.3
    • 0.6.0
    • 0.7.0
    • 0.8.0
    • 0.8.1
    • 0.9.0
    • 0.9.1
    • 1.0.0
    • 1.0.1
    • 1.1.0
    • 1.2.0
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.3.2rc1
    • 1.3.3rc1
    • 1.4.0
    • 1.4.0rc1
    • 1.4.0rc10
    • 1.4.0rc11
    • 1.4.0rc12
    • 1.4.0rc2
    • 1.4.0rc3
    • 1.4.0rc4
    • 1.4.0rc5
    • 1.4.0rc6
    • 1.4.0rc7
    • 1.4.0rc8
    • 1.4.0rc9
    • 1.4.1rc1
    • 1.5.0
    • 1.5.0rc1
    • 1.5.1
    • 1.5.2rc1
    Affected ranges
    • ECOSYSTEM: < 1.5.2

    Update to 1.5.2

Original sources

Check your server →