{
  "id": "CVE-2026-57845",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57845",
  "published_at": "2026-10-23T15:14:20.497Z",
  "title": "Hugging Face Datasets \u003c 5.2.0 Pickle Deserialization RCE via Pandas Builder",
  "vendor": "huggingface",
  "product": "datasets",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-502",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce",
      "url": "https://github.com/SaiTeja-Erukude/CVE-2026-57845-hf-datasets-rce",
      "created_at": "2026-10-23T00:44:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-10-15T13:47:00Z"
    },
    {
      "repo": "Sun-Wukhan/pickle-sentry",
      "url": "https://github.com/Sun-Wukhan/pickle-sentry",
      "created_at": "2026-11-09T15:55:42Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-02-13T04:10:33Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "huggingface",
        "product": "datasets",
        "ranges": [
          "\u003c= 5.1.0"
        ],
        "fixed_in": [
          "5.2.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade datasets to 5.2.0 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/huggingface/datasets/releases/tag/5.2.0"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/huggingface/datasets/pull/8879"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
