{"id":"CVE-2026-57845","title":"Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder","summary":"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. Atta…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-502"],"vendor":"huggingface","product":"datasets","affected":["datasets <= 5.1.0"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T17:58:18.702571Z"},"exploitAvailable":true,"published":"2026-10-23","updated":"2026-10-29","sourceUpdated":"2026-10-29T17:58:32.566Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-57845","references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","label":"Researcher Disclosure"},{"url":"https://github.com/huggingface/datasets/pull/8879","label":"Proposed Pull Request"},{"url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder","label":"VulnCheck Advisory: Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-57845"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2559938"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-57845"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57845"}],"tags":["cve.org","exploit-available","csaf","vex","red-hat"],"epss":0.00547,"epssPercentile":0.45869,"exploits":{"github":1,"githubRepos":["https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"],"checkedAt":"2026-11-01T22:03:10.703Z"},"scores":{"cna":8.8,"vendor":7.8},"ingestedAt":"2026-10-23T15:29:36.869Z","slug":"CVE-2026-57845","body":"## Overview\n\nHugging 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.\n\n## Affected\n\n- `datasets <= 5.1.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Exploit Intelligence, Lightspeed Core, Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI) · no fix planned: Exploit Intelligence, Lightspeed Core, Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, … · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json)","depth":"midnight","depthScore":61,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":229694,"id":"CVE-2026-57845","ts":1793036100888,"field":"cvss","old":"7.8","new":"8.8"},{"seq":228678,"id":"CVE-2026-57845","ts":1792844902089,"field":"cvss","old":"8.8","new":"7.8"}]}