cvelo
P2 · HighCVSS 8.8

Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder

  • CVE-2026-57845
  • GHSA-9hc7-p88p-mwm8
  • EUVD-2026-109092

Description

Hugging Face Datasets before 5.2.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by crafting a malicious pickle file loaded through the deprecated pandas packaged builder. Attackers can supply a pickle-backed dataset that is processed by Pandas._generate_tables via pandas.read_pickle() without validation, so when a victim calls datasets.load_dataset("pandas", data_files=...), the embedded __reduce__ payload executes code with the victim process's privileges.

Text from the CVE.org record.

Affected

  • huggingface datasets

    • up to 5.1.0
    • 5.2.0: not affected

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.