{"id":"CVE-2026-57845","published":"2026-10-23T16:16:52.000","lastModified":"2026-10-23T19:45:03.547","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.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-502"],"vendors":[],"products":[],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","tags":[]},{"url":"https://github.com/huggingface/datasets/pull/8879","tags":[]},{"url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder","tags":[]}],"exploitRefs":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","tags":[]},{"url":"https://github.com/huggingface/datasets/pull/8879","tags":[]}],"hasPoc":true,"ai":null}