{"id":"CVE-2026-57845","aliases":[],"summary":"Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder","published_at":"2026-10-23T15:14:20.497Z","modified_at":"2026-11-12T18:51:40Z","products":[],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005659999791532755,"percentile":0.477539986371994,"date":"2026-11-19T00:00:00Z"},"priority":10.3,"details":"Hugging Face Datasets before 5.2.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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"huggingface/datasets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.1.0"}]}],"provider":"cvelistv5","source":"CVE-2026-57845","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"affected","packages":["exploit-intelligence/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat AI Inference Server","cpe":"cpe:/a:redhat:ai_inference_server:3","status":"affected","packages":["rhaii-fast/model-opt-cuda-rhel9","rhaii-fast/vllm-rocm-rhel9","rhaii-fast/vllm-spyre-rhel9","rhaii/model-opt-cuda-rhel9","rhaii/vllm-rocm-rhel9","rhaii/vllm-spyre-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-aws-cuda-rhel9","rhelai3/bootc-azure-cuda-rhel9","rhelai3/bootc-azure-rocm-rhel9","rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gcp-cuda-rhel9","rhelai3/bootc-rocm-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhai/guidellm-rhel9","rhoai/odh-autorag-rhel9","rhoai/odh-caikit-nlp-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-th-torch-cpu-py312-rhel9","rhoai/odh-th-torch-cuda-py312-rhel9","rhoai/odh-th-torch-rocm-py312-rhel9","rhoai/odh-training-cuda128-torch28-py312-rhel9","rhoai/odh-training-cuda128-torch29-py312-rhel9","rhoai/odh-training-rocm64-torch28-py312-rhel9","rhoai/odh-training-rocm64-torch29-py312-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9","rhoai/odh-vllm-rocm-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9"],"package_count":18,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-caikit-tgis-serving-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-th06-cpu-torch210-py312-rhel9","rhoai/odh-th06-cpu-torch291-py312-rhel9","rhoai/odh-th06-cuda130-torch210-py312-rhel9","rhoai/odh-th06-cuda130-torch291-py312-rhel9","rhoai/odh-th06-rocm64-torch291-py312-rhel9","rhoai/odh-training-cuda121-torch24-py311-rhel9","rhoai/odh-training-cuda124-torch25-py311-rhel9","rhoai/odh-training-rocm62-torch24-py311-rhel9","rhoai/odh-training-rocm62-torch25-py311-rhel9"],"package_count":9,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-openvino-model-server-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:100634"],"provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/odh-built-in-detector-rhel9","rhoai/odh-caikit-nlp-rhel9","rhoai/odh-caikit-tgis-serving-rhel9","rhoai/odh-codeflare-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-kueue-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-inference-scheduler-rhel9","rhoai/odh-llm-d-routing-sidecar-rhel9","rhoai/odh-ml-pipelines-api-server-v2-rhel9","rhoai/odh-ml-pipelines-driver-rhel9"],"package_count":71,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-57845"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-57845","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-57845","license":"CC-BY-4.0","published_at":"2026-10-23T15:14:20.497Z","modified_at":"2026-11-12T18:48:40.649Z","summary":"Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder","details":"Hugging Face Datasets before 5.2.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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2026-57845"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-57845"}],"affected":[{"ecosystem":"CVE","package":"huggingface/datasets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.1.0"}]}],"provider":"cvelistv5","source":"CVE-2026-57845","relation":"self"}],"product_status":[],"references":[{"type":"EXPLOIT","url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"},{"type":"WEB","url":"https://github.com/huggingface/datasets/releases/tag/5.2.0"},{"type":"FIX","url":"https://github.com/huggingface/datasets/pull/8879"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder"}]},{"provider":"redhat-vex","source_id":"CVE-2026-57845","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-57845","license":"CC-BY-4.0","published_at":"2026-10-23T15:14:20.497Z","modified_at":"2026-11-12T18:51:40Z","summary":"datasets: datasets: Arbitrary code execution via insecure pickle deserialization","details":"A flaw was found in datasets. This vulnerability allows an attacker to achieve arbitrary code execution by convincing a victim to load a maliciously crafted dataset file. Due to insecure deserialization—the process of restoring saved data back into program objects—untrusted data loaded through the pandas dataset builder is processed without validation. Consequently, opening a malicious file executes arbitrary Python code with the privileges of the running process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-57845"},{"type":"Red Hat","score":"Important","source":"CVE-2026-57845"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"affected","packages":["exploit-intelligence/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat AI Inference Server","cpe":"cpe:/a:redhat:ai_inference_server:3","status":"affected","packages":["rhaii-fast/model-opt-cuda-rhel9","rhaii-fast/vllm-rocm-rhel9","rhaii-fast/vllm-spyre-rhel9","rhaii/model-opt-cuda-rhel9","rhaii/vllm-rocm-rhel9","rhaii/vllm-spyre-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-aws-cuda-rhel9","rhelai3/bootc-azure-cuda-rhel9","rhelai3/bootc-azure-rocm-rhel9","rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gcp-cuda-rhel9","rhelai3/bootc-rocm-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhai/guidellm-rhel9","rhoai/odh-autorag-rhel9","rhoai/odh-caikit-nlp-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-th-torch-cpu-py312-rhel9","rhoai/odh-th-torch-cuda-py312-rhel9","rhoai/odh-th-torch-rocm-py312-rhel9","rhoai/odh-training-cuda128-torch28-py312-rhel9","rhoai/odh-training-cuda128-torch29-py312-rhel9","rhoai/odh-training-rocm64-torch28-py312-rhel9","rhoai/odh-training-rocm64-torch29-py312-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9","rhoai/odh-vllm-rocm-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9"],"package_count":18,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-caikit-tgis-serving-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-th06-cpu-torch210-py312-rhel9","rhoai/odh-th06-cpu-torch291-py312-rhel9","rhoai/odh-th06-cuda130-torch210-py312-rhel9","rhoai/odh-th06-cuda130-torch291-py312-rhel9","rhoai/odh-th06-rocm64-torch291-py312-rhel9","rhoai/odh-training-cuda121-torch24-py311-rhel9","rhoai/odh-training-cuda124-torch25-py311-rhel9","rhoai/odh-training-rocm62-torch24-py311-rhel9","rhoai/odh-training-rocm62-torch25-py311-rhel9"],"package_count":9,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-openvino-model-server-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:100634"],"provider":"redhat-vex","source":"CVE-2026-57845"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/odh-built-in-detector-rhel9","rhoai/odh-caikit-nlp-rhel9","rhoai/odh-caikit-tgis-serving-rhel9","rhoai/odh-codeflare-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-kueue-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-inference-scheduler-rhel9","rhoai/odh-llm-d-routing-sidecar-rhel9","rhoai/odh-ml-pipelines-api-server-v2-rhel9","rhoai/odh-ml-pipelines-driver-rhel9"],"package_count":71,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-57845"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-57845"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2559938"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-57845"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57845"},{"type":"WEB","url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"},{"type":"WEB","url":"https://github.com/huggingface/datasets/pull/8879"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder"}]}],"references":[{"type":"EXPLOIT","url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"},{"type":"WEB","url":"https://github.com/huggingface/datasets/releases/tag/5.2.0"},{"type":"FIX","url":"https://github.com/huggingface/datasets/pull/8879"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-57845"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2559938"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-57845"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57845"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-57845","url":"https://www.cve.org/CVERecord?id=CVE-2026-57845","license":"CC-BY-4.0","modified_at":"2026-11-12T18:48:40.649Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-57845","url":"https://access.redhat.com/security/cve/CVE-2026-57845","license":"CC-BY-4.0","modified_at":"2026-11-12T18:51:40Z","relation":"self"}]}
