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.
References
Configurations
No configuration.
History
12 Nov 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| Summary | (en) 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. |
23 Oct 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-23 16:16
Updated : 2026-11-12 19:17
NVD link : CVE-2026-57845
Mitre link : CVE-2026-57845
CVE.ORG link : CVE-2026-57845
JSON object : View
Products Affected
No product.
CWE
CWE-502
Deserialization of Untrusted Data
