HIGHVulnerability
Verified
Global

NVD HIGH: CVE-2026-57845 — Hugging Face Datasets through 5.1.0 contains an insecure deserialization vulnera...

·Source: NIST NVD

Updated:

Executive Summary

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.

Analysis

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. CVSS Score: 8.8. Published: 2026-10-23T16:16:52.000.

Indicators of Compromise (1)

CVE (1)
CVE-2026-57845
Source Attribution

Originally published by NIST NVD on Oct 23, 2026. Verified by: NIST.

Related Threats