CVE-2023-5245
CWE-22Published: November 15, 2023· Updated: Jun 17, 2026
Official 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
Risk Analysis
MLeap is vulnerable to arbitrary file creation because it fails to validate file paths during extraction, which can lead to remote code execution. This critical flaw allows an attacker to overwrite system files.
There is no known public exploit, and it is not in the CISA KEV. The vulnerability is remotely exploitable with low complexity.
Upgrade MLeap to a version that includes path validation in the FileUtil.extract() function. Avoid processing untrusted zip archives.
Technical Analysis
CVE-2023-5245 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-22)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-5245 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts