PT-2026-64320 · Hugging Face · Datasets
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Datasets versions prior to 5.0.1
Description
Folder-based dataset builders fail to properly validate the
file name metadata field before joining it to the dataset directory. This allows attackers to use directory traversal sequences—a technique used to access files and directories outside the intended folder—to read arbitrary local files. These files are then embedded into the output when the save to disk() or push to hub() functions are called.Recommendations
Update Datasets to version 5.0.1 or later.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Datasets