Skip to main content

CVE-2026-57845: Deserialization of Untrusted Data in huggingface datasets

0
High
VulnerabilityCVE-2026-57845cvecve-2026-57845
Published: 10/23/2026 (10/23/2026, 15:14:20 UTC)
Source: CVE Database V5
Vendor/Project: huggingface
Product: datasets

Description

Hugging Face Datasets versions up to 5.1.0 contain a deserialization vulnerability in the deprecated pandas packaged builder. This flaw allows attackers to execute arbitrary Python code by supplying a malicious pickle file that is loaded without validation. When a victim loads such a dataset using datasets.load_dataset("pandas", data_files=...), the embedded payload executes with the victim process's privileges.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

huggingface

datasets

Affected versions
>=0 <=5.1.0
GitHub Actionsmore threats →cve
datasets
pkg:github/datasets
Affected versions
>=0 <=5.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 15:50:08 UTC

Technical Analysis

CVE-2026-57845 describes an insecure deserialization vulnerability in Hugging Face Datasets through version 5.1.0. The vulnerability arises from the use of pandas.read_pickle() in the deprecated pandas packaged builder, which loads pickle-backed datasets without validation. An attacker can craft a malicious pickle file containing a __reduce__ payload that executes arbitrary Python code when the dataset is loaded, leading to code execution with the privileges of the victim process.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary Python code on the victim system with the privileges of the process running the datasets library. This can lead to full compromise of the environment where the dataset is loaded, including data theft, system manipulation, or further attacks.

Mitigation Recommendations

No explicit patch or remediation details are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid loading datasets using the deprecated pandas packaged builder with untrusted pickle files.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-25T18:48:00.281Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6adb7ee2d73cc493479f4dec

Added to database: 10/23/2026, 15:36:02 UTC

Last enriched: 10/23/2026, 15:50:08 UTC

Last updated: 10/23/2026, 15:51:02 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses