CVE-2026-57845 Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder

High 8.7 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-57845?

CVE-2026-57845 is a high-severity vulnerability in huggingface datasets, published on 23 Oct 2026.

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

Weakness: CWE-502

Which versions are affected by CVE-2026-57845?

How do I fix CVE-2026-57845?

No fix has been published for CVE-2026-57845 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-57845 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57845 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-9hc7-p88p-mwm8.

Is CVE-2026-57845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free