CVE-2026-57845
Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder
- State
- Published
- Severity
- 8.7 High
- Published
- Oct 23, 2026
- Updated
- Oct 29, 2026
- Reserved
- Jun 25, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
Affected Products
| Product | Versions |
|---|---|
datasetshuggingface |
|
References
- Researcher Disclosuretechnical-descriptionexploit
- Proposed Pull Requestpatch
- VulnCheck Advisory: Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builderthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.