{"id":"CVE-2026-57845","state":"PUBLISHED","title":"Hugging Face Datasets through 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.","publishedAt":"2026-10-23T15:14:20.497Z","updatedAt":"2026-10-29T17:58:32.566Z","severity":{"score":8.7,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["huggingface datasets"],"affected":[{"vendor":"huggingface","product":"datasets","packageURL":"pkg:github/huggingface/datasets","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.1.0","versionType":"semver"}],"repo":"https://github.com/huggingface/datasets"}],"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"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57845.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57845","state":"PUBLISHED","datePublished":"2026-10-23T15:14:20.497Z","dateUpdated":"2026-10-29T17:58:32.566Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-25T18:48:00.281Z"},"containers":{"cna":{"title":"Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"huggingface","product":"datasets","packageURL":"pkg:github/huggingface/datasets","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.1.0","versionType":"semver"}],"repo":"https://github.com/huggingface/datasets"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce","name":"Researcher Disclosure","tags":["technical-description","exploit"]},{"url":"https://github.com/huggingface/datasets/pull/8879","name":"Proposed Pull Request","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder","name":"VulnCheck Advisory: Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-27T10:14:11.559Z"},"tags":["x_open-source"],"datePublic":"2026-10-23T00:00:00.000Z","credits":[{"lang":"en","value":"Sai Teja Erukude","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:huggingface:datasets:*:*:*:*:*:*:*:*","versionEndIncluding":"5.1.0"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T17:58:18.702571Z","id":"CVE-2026-57845","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T17:58:32.566Z"}}]}}}