CVE-2026-66007

published 24 Jul 2026 · updated 1 Oct 2026

Datasets Path Traversal via Unsanitized file_name Metadata

7.5HighCVSS 6.5EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
huggingface<=5.0.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-66007 severity on Zeptric[![CVE-2026-66007](https://zeptric.io/badge/cve/CVE-2026-66007.svg)](https://zeptric.io/cve/CVE-2026-66007)