What’s Vulnerable › Vulnerabilities
CVE-2026-57845: Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-23 · updated 2026-10-29
- Weakness: CWE-502
Description
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.
Affected products
- huggingface datasets: through 5.1.0
References
- https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce
- https://github.com/huggingface/datasets/pull/8879
- https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder
Get alerted when CVE-2026-57845 or the next vulnerability affects your stack