CVE-2026-57845
published high CVSS 4.0 · 8.7Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| huggingface | — | datasets0 through 5.1.0 (affected · semver) · 5.2.0 (unaffected · semver) · Other versions: unknown | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| huggingface | datasets | 0 through 5.1.0 (affected · semver)5.2.0 (unaffected · semver)Default: unknown | VulnCheck · cna |
Weaknesses
1- CWE-502 Deserialization of Untrusted Data
References
4- Researcher Disclosure https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce
- Pull Request https://github.com/huggingface/datasets/pull/8879
- Release Notes https://github.com/huggingface/datasets/releases/tag/5.2.0
- VulnCheck Advisory: Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder
Provider assertions
2VulnCheck · cna
Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5643f4a920d9d435ab3c2dcf210bb35b0675e3b5ef6029ce9f717338f700587d
- Ingested
- 12 Nov 2026, 18:54:05 UTC
- Source record
- Official CVE record