PyPA Advisory Database
PYSEC-2026-1254
Cleanlab Deserialization of Untrusted Data vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | cleanlab | From 2.4.0 up to and including 2.6.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45857
- https://github.com/cleanlab/cleanlab
- https://github.com/cleanlab/cleanlab/blob/v2.6.6/cleanlab/datalab/internal/serialize.py#L102-L138
- https://hiddenlayer.com/sai-security-advisory/2024-09-cleanlab
- https://pypi.org/project/cleanlab
- https://github.com/advisories/GHSA-8cm9-rrgc-4pcj