datasets
Affected
- introduced
0, fixed5.0.1(ecosystem)
Fixed versions
5.0.1
Fix
- Fixed version
5.0.1pip install --upgrade datasets==5.0.1
Advisory
Also known as: CVE-2026-66007, GHSA-379c-qx7v-6h59
The record has no summary.
Datasets through 5.0.0, fixed in commit f989ef9, contains a path traversal vulnerability in folder-based dataset builders where the file_name metadata field is not properly validated before being joined to the dataset directory. Attackers can supply crafted file_name values with directory traversal sequences to read arbitrary local files, which are then embedded into output when save_to_disk or push_to_hub is called.
Not rated by the source.
0, fixed 5.0.1 (ecosystem)5.0.1
5.0.1pip install --upgrade datasets==5.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0