Vulnerability GHSA-379c-qx7v-6h59
Medium Risk
MEDIUM RISK
CVSS Score: 6.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
2 months ago
July 24, 2026 at 03:33 PM UTC
Hugging Face Datasets folder-based builders allow path traversal through file_name metadata
0.0.9 - 5.0.0
0.0.9 - 5.0.0
Summary
Hugging Face Datasets folder-based builders allow path traversal through file_name metadata
Details
Datasets through 5.0.0, fixed in 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.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Impacted packages
Timeline
Published
2 months ago
July 24, 2026 at 03:33 PM UTC
Fixed (5.0.1)
2 months ago
July 28, 2026 at 11:09 AM UTC
Last Modified
12 days ago
October 02, 2026 at 11:11 PM UTC