Skip to main content
← All vulnerabilities
CVE-2026-66007GHSA-379C-QX7V-6H59PYSEC-2026-3716

Datasets Path Traversal via Unsanitized file_name Metadata

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • huggingface datasets

    through 5.0.0

  • datasetsPyPI

    fixed in 5.0.1

References 4

GitHub · huggingface/datasets

vulncheck.com