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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Public exploits 1
- SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Change history 4
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-23 15:14
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-23 19:45
- StatusReceived → PublishedNVD modified 2026-10-23 15:14
- First seenCVSS 8.7NVD modified 2026-10-23 16:16
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.