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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-08T23:42:11.009Z
- Modified: 2026-06-17T09:44:53.127Z
- Also known as: GHSA-p8cm-mm2v-gwjm, PYSEC-2025-142
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Project-MONAI MONAI: <= 1.5.0
- monai (PyPI): before 1.5.1; before 1.5.1rc1
- monai medical_open_network_for_ai: up to 1.5.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-p8cm-mm2v-gwjm> (exploit, evidence, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58757> (advisory)
- <https://github.com/Project-MONAI/MONAI/pull/8566> (web)
- <https://github.com/Project-MONAI/MONAI/commit/948fbb703adcb87cd04ebd83d20dcd8d73bf6259> (web)
- <https://github.com/Project-MONAI/MONAI> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/monai/PYSEC-2025-142.yaml> (web)

## Sources

- CVE List: [CVE-2025-58757](https://www.cve.org/CVERecord?id=CVE-2025-58757), CVE Terms of Use, modified 2025-09-09
- GitHub Advisory Database: [GHSA-p8cm-mm2v-gwjm](https://github.com/advisories/GHSA-p8cm-mm2v-gwjm), CC-BY-4.0, modified 2026-06-06
- NVD: [CVE-2025-58757](https://nvd.nist.gov/vuln/detail/CVE-2025-58757), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-142](https://osv.dev/vulnerability/PYSEC-2025-142), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-58757 · Whole record: https://cve.day/CVE-2025-58757.json · Rebuilt by cve.day 2026-11-25T22:59:04.355Z
