CVE-2026-57845
Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-502 |
| Vendor | huggingface |
| Product | datasets |
| Published | Oct 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for huggingface datasets
Be the first to know when new high vulnerabilities affecting huggingface datasets are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
huggingface / datasets
0 โค 5.1.0
References
Credits
Sai Teja Erukude