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.
History

Fri, 30 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 27 Oct 2026 10:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:huggingface:datasets:*:*:*:*:*:*:*:*

Mon, 26 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Title Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 23 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Huggingface
Huggingface datasets
Vendors & Products Huggingface
Huggingface datasets

Fri, 23 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-10-23T15:14:20.497Z

Updated: 2026-10-29T17:58:32.566Z

Reserved: 2026-06-25T18:48:00.281Z

Link: CVE-2026-57845

cve-icon Vulnrichment

Updated: 2026-10-29T17:58:26.156Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-23T16:16:52.000

Modified: 2026-10-29T18:17:33.640

Link: CVE-2026-57845

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-23T15:14:20Z

Links: CVE-2026-57845 - Bugzilla