{"id":"CVE-2026-57845","aliases":["CVE-2026-57845"],"related":[],"kind":"vulnerability","state":"published","title":"Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-23T15:14:20.497Z","modified":"2026-11-12T19:17:04.937Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.1.0","status":"affected"},{"type":"semver","version":"5.2.0","status":"unaffected"}],"vendor":"huggingface","product":"datasets","repo":"https://github.com/huggingface/datasets","source":"cvelist"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/huggingface/datasets/releases/tag/5.2.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/huggingface/datasets/pull/8879","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Sai Teja Erukude"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-10-29T17:58:18.702Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57845","url":"https://www.cve.org/CVERecord?id=CVE-2026-57845","licence":"CVE Terms of Use","modified":"2026-11-12T18:48:40.649Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57845","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57845","licence":"Public domain","modified":"2026-11-12T19:17:04.937Z"}],"updatedAt":"2026-11-25T22:59:46.995Z","epss":{"score":0.00604,"percentile":0.50263,"date":"2026-12-01T12:00:22.000Z"}}