PT-2026-64320 · Hugging Face · Datasets

·

CVE-2026-66007

·

Published

2026-07-24

·

Updated

2026-07-24

CVSS v4.0

6.9

Medium

VectorAV: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

CVE-2026-66007
PYSEC-2026-3716

Affected Products

Datasets