# CVE-2023-5245: Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution.

- Severity: High 7.5 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/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): 1.49%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-15T12:52:18.656Z
- Modified: 2026-06-17T06:48:10.053Z
- Also known as: GHSA-897x-xvj8-42rq
- Weaknesses: CWE-22
- Assigned by: JFROG

## Description

FileUtil.extract() enumerates all zip file entries and extracts each file without validating whether file paths in the archive are outside the intended directory.

When creating an instance of TensorflowModel using the saved_model format and an exported tensorflow model, the apply() function invokes the vulnerable implementation of FileUtil.extract().

Arbitrary file creation can directly lead to code execution

(As written by CVE List.)

## Affected

- ml.combust.mleap.mleap-tensorflow: from 0.18.0 before 0.23.1
- ml.combust.mleap:mleap-runtime_2.12 (Maven): before 0.23.1
- combust mleap: 0.18.0; 0.23.0

## Every score

- JFROG: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/> (exploit, third-party-advisory)
- <https://github.com/combust/mleap/pull/866#issuecomment-1738032225> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5245> (advisory)
- <https://github.com/combust/mleap> (package)
- <https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656> (web)

## Sources

- CVE List: [CVE-2023-5245](https://www.cve.org/CVERecord?id=CVE-2023-5245), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-897x-xvj8-42rq](https://github.com/advisories/GHSA-897x-xvj8-42rq), CC-BY-4.0, modified 2024-02-20
- NVD: [CVE-2023-5245](https://nvd.nist.gov/vuln/detail/CVE-2023-5245), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-5245 · Whole record: https://cve.day/CVE-2023-5245.json · Rebuilt by cve.day 2026-11-25T22:58:30.507Z
