{"id":"CVE-2026-57845","title":"datasets: datasets: Arbitrary code execution via insecure pickle deserialization (CVE-2026-57845)","summary":"A flaw was found in datasets. This vulnerability allows an attacker to achieve arbitrary code execution by convincing a victim to load a maliciously crafted dataset file. Due to insecure deserialization—the process of restoring saved data …","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":"CWE-502","vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","affected":["exploit_intelligence","lightspeed_core","ai_inference_server","enterprise_linux_ai_rhel_ai 3","openshift_ai_rhoai"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T17:38:38+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-57845"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2559938"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-57845"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57845"},{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"},{"url":"https://github.com/huggingface/datasets/pull/8879"},{"url":"https://www.vulncheck.com/advisories/hugging-face-datasets-pickle-deserialization-rce-via-pandas-builder"}],"tags":["csaf","vex","red-hat","exploit-available","cve.org"],"exploits":{"github":1,"githubRepos":["https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce"],"checkedAt":"2026-10-24T12:26:10.187Z"},"exploitAvailable":true,"scores":{"vendor":7.8,"cna":8.8},"ingestedAt":"2026-10-23T15:29:36.869Z","slug":"CVE-2026-57845","body":"## Overview\n\nA flaw was found in datasets. This vulnerability allows an attacker to achieve arbitrary code execution by convincing a victim to load a maliciously crafted dataset file. Due to insecure deserialization—the process of restoring saved data back into program objects—untrusted data loaded through the pandas dataset builder is processed without validation. Consequently, opening a malicious file executes arbitrary Python code with the privileges of the running process.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Exploit Intelligence, Lightspeed Core, Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI) · no fix planned: Exploit Intelligence, Lightspeed Core, Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, … · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57845.json)\n\n**datasets: datasets: Arbitrary code execution via insecure pickle deserialization** — rated Important by Red Hat. Released 2026-10-23.\n\nAffected:\n\n- Exploit Intelligence\n- Lightspeed Core\n- Red Hat AI Inference Server\n- Red Hat Enterprise Linux AI (RHEL AI) 3\n- Red Hat OpenShift AI (RHOAI)\n\nNo fix planned:\n\n- Exploit Intelligence\n- Lightspeed Core\n- Red Hat AI Inference Server\n- Red Hat Enterprise Linux AI (RHEL AI) 3\n- Red Hat OpenShift AI (RHOAI)\n\n## Remediation\n\nAffected","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":228678,"id":"CVE-2026-57845","ts":1792844902089,"field":"cvss","old":"8.8","new":"7.8"}]}