Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-57845 EUVD-2026-109092GHSA-9hc7-p88p-mwm8

Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder

Published Oct 23, 2026 · Updated Nov 12, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
huggingface datasets ≤ 5.1.0 5.2.0

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References