---
title: "CVE-2026-57845: Hugging Face Datasets - Remote Code Execution"
description: "Hugging Face Datasets through 5.1.0 contains an insecure deserialization vulnerability caused by unvalidated loading of malicious pickle files via the deprecated pandas packaged builder, letting attackers execute arbitrary Python code with victim process privileges, exploit requires victim to load crafted pickle-backed dataset."
url: https://panop.io/threat-heartbeat/CVE-2026-57845/
---

# CVE-2026-57845 Hugging Face Datasets - Remote Code Execution

Hugging Face Datasets through 5.1.0 contains an insecure deserialization vulnerability caused by unvalidated loading of malicious pickle files via the deprecated pandas packaged builder, letting attackers execute arbitrary Python code with victim process privileges, exploit requires victim to load crafted pickle-backed dataset.

CVSS base score 8.8 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Not required

EPSS

0.55% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-57845)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

23 October 2026

Updated

25 October 2026

Weakness

[CWE-502](https://cwe.mitre.org/data/definitions/502.html)

## Vendor fix

Update to a version later than 5.1.0 or apply patches that remove insecure deserialization via pandas packaged builder.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-57845](https://nvd.nist.gov/vuln/detail/CVE-2026-57845)
- [https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce](https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce)
- [https://github.com/huggingface/datasets/pull/8879](https://github.com/huggingface/datasets/pull/8879)
- [https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder](https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
