{"id":"CVE-2026-57845","published":"2026-10-23T15:14:20Z","modified":"2026-11-12T18:48:40Z","title":"Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder","vendor":"huggingface","product":"datasets","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00566,"percentile":0.47627,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","tags":["technical-description","exploit"]},{"url":"https://github.com/huggingface/datasets/releases/tag/5.2.0","tags":["release-notes"]},{"url":"https://github.com/huggingface/datasets/pull/8879","tags":["patch","issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder","tags":["third-party-advisory"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":9.53},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2026-11-09","earliestUrl":"https://github.com/Sun-Wukhan/pickle-sentry","repos":[{"name":"Sun-Wukhan/pickle-sentry","url":"https://github.com/Sun-Wukhan/pickle-sentry","stars":1,"created":"2026-11-09"}]},"first":{"date":"2026-11-09","source":"PoC-in-GitHub","url":"https://github.com/Sun-Wukhan/pickle-sentry"},"provenance":"source"},"vendorSlug":"huggingface","affectedVersions":[{"vendor":"huggingface","product":"datasets","versions":["<= 5.1.0"]}],"fixedVersions":[{"vendor":"huggingface","product":"datasets","versions":["5.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T17:58:18.702571Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-109092","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"]}