CVE-2026-57845: Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder
huggingface · datasets
Vendor fix available · Affected: huggingface datasets · Exploitation: public proof of concept (unverified)
ExploitationProof of concept public
Not in CISA KEV as of catalogue 2026.11.06 (6 Nov)
- In CISA KEV: not seen
- Exploited (reported): not seen
- Scanning observed: not seen
- Proof of concept public1 public GitHub repository (unverified), listed by PoC-in-GitHub23 Oct
- Not established: not seen
Higher than 46% of scored CVEs
DescriptionNVD
Hugging Face Datasets through 5.1.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.
What changed
- PoC-in-GitHub lists 1 public GitHub repository (unverified) PoC-in-GitHub
Coverage1 article · 1 outlet
First in our coverage: SecurityOnline, 9 Nov.
- PoC exposes RCE flaw in widely used Hugging Face DatasetsSecurityOnline · first in our coverage
New articles also arrive in the RSS feed.