Hugging Face Datasets through 5.1.0 contains an insecure deserialization vulnerability that allows attackers to
Source GCVE Database
Not known to be exploited · CVSS 8.7 High.
Data as of 12 Nov 2026, 22:36 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.8 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| huggingfacedatasets | Affected
| Fixed in– |
GitHubdatasetspkg:github/datasetsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid loading datasets using the deprecated pandas packaged builder with untrusted pickle files. Until a fix is released, do not load pickle-backed datasets from untrusted sources via datasets.load_dataset("pandas", data_files=...). Monitor the vendor advisory for updates and apply official patches once available.
Description
Hugging Face Datasets versions through 5.1.0 contain an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code. This occurs when a malicious pickle file is loaded via the deprecated pandas packaged builder, specifically through pandas.read_pickle() without validation. Exploitation requires a victim to load a crafted dataset using datasets.load_dataset("pandas", data_files=...), which triggers execution of the embedded payload with the victim process's privileges.
References
- nvd.nist.gov/vuln/detail/CVE-2026-57845 (opens in a new tab)
- github.com/huggingface/datasets/pull/8879 (opens in a new tab)
- github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce (opens in a new tab)
- github.com/huggingface/datasets/releases/tag/5.2.0 (opens in a new tab)
- vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder (opens in a new tab)