CVE-2026-57845

published 23 Oct 2026 · updated 12 Nov 2026

Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder

9.8CriticalCVSS 8.8EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
huggingface<=5.1.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-57845 severity on Zeptric[![CVE-2026-57845](https://zeptric.io/badge/cve/CVE-2026-57845.svg)](https://zeptric.io/cve/CVE-2026-57845)