GHSA-9hc7-p88p-mwm8HighCVSS 8.8
Hugging Face Datasets through 5.1.0 contains an insecure deserialization vulnerability that...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-57845
- https://github.com/huggingface/datasets/pull/8879
- https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce
- https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder
- https://github.com/advisories/GHSA-9hc7-p88p-mwm8