CVE-2025-58757 json
MONAI's unsafe use of Pickle deserialization may lead to RCE
published 2025-09-08 14 mo ago modified 2026-06-17 4 mo ago also GHSA-p8cm-mm2v-gwjm , PYSEC-2025-142 , EUVD-2025-27189
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi monai 1.5.1, 1.5.1rc1
- github.com/Project-MONAI/MONAI@948fbb7 commit
- github.com/Project-MONAI/MONAI#8566 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-p8cm-mm2v-gwjm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | monai | <1.5.1 <1.5.1rc1 |
1.5.1 1.5.1rc1 |
Affected products
- Project-MONAI MONAI
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/Project-MONAI/MONAI/pull/8566
web
-
github.com
/Project-MONAI/MONAI/commit/948fbb703adcb87cd04ebd83d20dcd8d73bf6259
web
-
github.com
/Project-MONAI/MONAI/security/advisories/GHSA-p8cm-mm2v-gwjm
exploit, web, vendor-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2025-58757
advisory
-
github.com
/Project-MONAI/MONAI
package
-
github.com
/pypa/advisory-database/tree/main/vulns/monai/PYSEC-2025-142.yaml
web
Sources
- CVE List CVE-2025-58757
- GitHub Advisory GHSA-p8cm-mm2v-gwjm
- NVD CVE-2025-58757
- OSV PYSEC-2025-142
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.