Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| huggingface | datasets | unknown |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Huggingface | Datasets |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.566% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | 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. |
| Title | Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder | Hugging Face Datasets < 5.2.0 Pickle Deserialization RCE via Pandas Builder |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:huggingface:datasets:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder | Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Huggingface
Huggingface datasets |
|
| Vendors & Products |
Huggingface
Huggingface datasets |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Hugging Face Datasets 5.1.0 Pickle Deserialization RCE via Pandas Builder | |
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
cvssV3_1
|