# CVE-2026-57845: Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-23T15:14:20.497Z
- Modified: 2026-11-12T19:17:04.937Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- huggingface datasets: up to 5.1.0 (not affected: 5.2.0)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce> (exploit, technical-description)
- <https://github.com/huggingface/datasets/releases/tag/5.2.0> (release-notes)
- <https://github.com/huggingface/datasets/pull/8879> (issue-tracking, patch)
- <https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-57845](https://www.cve.org/CVERecord?id=CVE-2026-57845), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-57845](https://nvd.nist.gov/vuln/detail/CVE-2026-57845), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-57845 · Whole record: https://cve.day/CVE-2026-57845.json · Rebuilt by cve.day 2026-11-25T22:59:46.995Z
