---
id: CVE-2024-45857
aliases:
  - GHSA-8cm9-rrgc-4pcj
  - PYSEC-2026-1254
title: Cleanlab Deserialization of Untrusted Data vulnerability
summary: Cleanlab Deserialization of Untrusted Data vulnerability
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: cleanlab
product: cleanlab
ecosystem: pip
affected:
  - 'cleanlab >= 2.4.0, <= 2.6.6'
published: '2024-09-12'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8cm9-rrgc-4pcj'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45857'
  - url: 'https://github.com/cleanlab/cleanlab'
  - url: >-
      https://github.com/cleanlab/cleanlab/blob/v2.6.6/cleanlab/datalab/internal/serialize.py#L102-L138
  - url: 'https://hiddenlayer.com/sai-security-advisory/2024-09-cleanlab'
tags:
  - osv
  - pip
epss: 0.00245
epssPercentile: 0.16038
ingestedAt: '2026-07-08T18:25:47.452Z'
---

## Overview

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

- `cleanlab >= 2.4.0, <= 2.6.6`

## Remediation

Refer to the advisory for the patched release.
