CVE-2026-21851
Project-monai Monai vulnerability
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.
Affected products
Monai. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Project-monai Monai runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27 · Exploit
- github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59 · Patch
- nvd.nist.gov/vuln/detail/CVE-2026-21851
- github.com/advisories/GHSA-9rg3-9pvr-6p27
- nvd.nist.gov/vuln/detail/CVE-2026-21851
- cve.org/CVERecord?id=CVE-2026-21851
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.