CVE-2024-45857 Cleanlab Deserialization of Untrusted Data vulnerability
Attackers can execute arbitrary code by tricking users into loading a malicious pickle file in the Cleanlab library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-45857?
CVE-2024-45857 is a high-severity unsafe deserialization vulnerability in cleanlab, published on 12 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Deserialization of untrusted data can occur in versions 2.4.0 or newer of the Cleanlab project, enabling a maliciously crafted datalab.pkl file to run arbitrary code on an end user’s system when the data directory is loaded.
Weakness: CWE-502
Which versions are affected by CVE-2024-45857?
3 open source packages ship an affected version, including cleanlab.
| Package | Affected | Fixed in |
|---|---|---|
cleanlab PyPI | From 2.4.0 to 2.6.6 | None |
cleanlab PyPI | From 2.4.0 to 2.6.6 | None |
cleanlab PyPI | From 2.4.0 to 2.6.6 | None |
How do I fix CVE-2024-45857?
No fix has been published for CVE-2024-45857 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-45857 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45857 exists.
Sources
Also known as GHSA-8cm9-rrgc-4pcj, PYSEC-2026-1254.