{"id":"CVE-2026-57845","revision":"02c3c14e889149e0a40b1cead090ac0a","records":[{"revision":"02c3c14e889149e0a40b1cead090ac0a","observedAt":"2026-10-23T16:48:20.594+00:00","statement":{"source":"cve-program","id":"CVE-2026-57845","aliases":[],"title":"Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder","description":"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.","state":0,"publishedAt":"2026-10-23T15:14:20.497+00:00","modifiedAt":"2026-10-23T15:14:20.497+00:00","affected":[{"ecosystem":"Vendor product","name":"datasets","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unknown\",\n                    \"vendor\": \"huggingface\",\n                    \"product\": \"datasets\",\n                    \"packageURL\": \"pkg:github/huggingface/datasets\",\n                    \"repo\": \"https://github.com/huggingface/datasets\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"5.1.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"},{"system":"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,"severity":"HIGH"}],"references":["https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","https://github.com/huggingface/datasets/pull/8879","https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-57845","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-57845","identifiers":["CVE-2026-57845"]},"retained":false,"historicalAffected":[]}],"coverage":[]}