CVE-2026-57845 · UNKNOWN
Summary: Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder
EPSS: 0.6% probability of exploitation in the next 30 days (percentile 47.5).
Details
Hugging Face Datasets before 5.2.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.
Severity
UNKNOWN — vector 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
Affected packages
- GIT github.com/huggingface/datasets [0 – e45c5b38100d0a39f7d29e31431075051b97485b]
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57845.json
- https://github.com/huggingface/datasets/releases/tag/5.2.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-57845
- https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder
- https://github.com/huggingface/datasets/pull/8879
- https://github.com/huggingface/datasets
- https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce