Path Traversal in Huggingface Datasets

CVE-2026-66007

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…

Vulnerability class: Path Traversal (Directory Traversal)

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-66007?
CVE-2026-66007 is a medium-severity vulnerability in Huggingface Datasets, classified under Path Traversal. CVSS score: 6.5/10. Published 2026-07-24.
How severe is CVE-2026-66007?
Medium severity. CVSS v3 base score is 6.5 out of 10.