CVE-2026-57845
Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder
Fetching some sources has been requested. Reload in about a minute to see them.
CVSS v3.1 (listed by NVD)
8.8
HIGH
Scored by vulncheck.com (not yet scored by NVD)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0 (listed by NVD)
8.7
HIGH
Scored by vulncheck.com (not yet scored by NVD)
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS (listed by CVE.org)
8.7
HIGH
Scored by CNA (VulnCheck) · v4.0
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
EPSS exploit probability
0.6%
Percentile 45.5%
as of 2026-10-24
CISA KEV
—
Not listed
Attack conditions and impact
Derived from the CNA (via NVD) CVSS 3.1 vector
NetworkNo authUser action
Confidentiality HIntegrity HAvailability H
| Metric | Value | Meaning |
|---|---|---|
| Attack vector AV | N | Network |
| Attack complexity AC | L | Low (easy) |
| Privileges required PR | N | None |
| User interaction UI | R | Required |
| Scope S | U | Unchanged |
| Confidentiality C | H | High |
| Integrity I | H | High |
| Availability A | H | High |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
NVD
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 assessments
| Provider | Version | Score | Vector |
|---|---|---|---|
| NVD / [email protected] (Secondary) | 4.0 | 8.7 HIGH | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD / [email protected] (Primary) | 3.1 | 8.8 HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA / VulnCheck | 4.0 | 8.7 HIGH | 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 |
| CNA / VulnCheck | 3.1 | 8.8 HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| huggingface | datasets | affected: 0 … <= 5.1.0 default: unknown |
Linux distribution status
Red Hat ↗ important
| Release | Package | Status | Fixed version / notes |
|---|---|---|---|
| Exploit Intelligence | exploit-intelligence/vulnerability-analysis-rhel9 | affected | |
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhai/guidellm-rhel9 | affected | |
| Red Hat AI Inference Server | rhaii-fast/model-opt-cuda-rhel9 | affected | |
| Red Hat AI Inference Server | rhaii-fast/vllm-rocm-rhel9 | affected | |
| Red Hat AI Inference Server | rhaii-fast/vllm-spyre-rhel9 | affected | |
| Red Hat AI Inference Server | rhaii/model-opt-cuda-rhel9 | affected | |
| Red Hat AI Inference Server | rhaii/vllm-rocm-rhel9 | affected | |
| Red Hat AI Inference Server | rhaii/vllm-spyre-rhel9 | affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-aws-cuda-rhel9 | affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-cuda-rhel9 | affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-rocm-rhel9 | affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gcp-cuda-rhel9 | affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-autorag-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-caikit-nlp-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-caikit-tgis-serving-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-feature-server-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-core-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-openvino-model-server-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ta-lmes-job-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th-torch-cpu-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th-torch-cuda-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th-torch-rocm-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch210-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch291-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch210-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch291-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-rocm64-torch291-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-cuda121-torch24-py311-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-cuda124-torch25-py311-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-cuda128-torch28-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-cuda128-torch29-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-rocm62-torch24-py311-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-rocm62-torch25-py311-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-rocm64-torch28-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-rocm64-torch29-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-vllm-rocm-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | affected |
Debian ↗
No record
Ubuntu ↗ Fetching
References (3)
- https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce NVD, CNA technical-descriptionexploit
- https://github.com/huggingface/datasets/pull/8879 NVD, CNA patch
- https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder NVD, CNA third-party-advisory