Skip to content
HighVulnerability

CVE-2026-57845: Hugging Face Datasets insecure deserialization via pandas packaged builder

Identifier
CVE-2026-57845
Published
Record updated
View JSON

Summary

Hugging Face Datasets before 5.2.0 has an insecure deserialization flaw in its deprecated pandas packaged builder. A crafted pickle file, processed by Pandas._generate_tables via pandas.read_pickle() without validation, runs attacker-supplied code with the victim process's privileges when datasets.load_dataset("pandas", data_files=...) is called.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.