Skip to content
High-Risk Vulnerability in Hugging Face Datasets Allows Remote Code Execution

High-Risk Vulnerability in Hugging Face Datasets Allows Remote Code Execution

First seen 24 Oct 2026, 01:43 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •October 24, 2026 at 03:13 UTC
  • •CVE-2026-57845 allows remote code execution via untrusted pickle files.
  • •Affected versions include Hugging Face Datasets up to 5.1.0.
  • •High risk for teams loading datasets from untrusted sources.

A vulnerability, CVE-2026-57845, has been identified in Hugging Face Datasets versions up to 5.1.0, enabling arbitrary Python code execution via malicious pickle files. This flaw arises from the use of the deprecated pandas packaged builder, which processes unvalidated datasets. Attackers can exploit this vulnerability by supplying a crafted dataset that executes code with the victim's privileges when loaded. Teams using the library in data science pipelines or model training jobs are particularly at risk, especially if they load datasets from untrusted sources. The vulnerability was published on October 23, 2026, and is rated with a CVSS score of 8.7, indicating high severity. Users are advised to upgrade to a patched version or disable the affected builder to mitigate risks until a fix is applied.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated just now How this analysis works

Timeline

2026-10-23
CVE-2026-57845 published
A critical vulnerability in Hugging Face Datasets was disclosed, allowing arbitrary code execution.
Redpacketsecurity

More articles in this cluster (4)

Following this threat?

Track CVE-2026-57845 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

What versions of Hugging Face Datasets are affected?
Versions up to and including 5.1.0 are vulnerable to CVE-2026-57845.
How can I mitigate this vulnerability?
Upgrade to a patched version of Hugging Face Datasets or disable the affected pandas builder.
Is there any active exploitation reported?
No active exploitation has been reported as of now, but the vulnerability is considered high risk.