Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-66007: Datasets through 5.0.0, fixed in commit f989ef9, contains a path traversal vulnerability in folder-based datas

39
Routine
MEDIUM 6.5UPGRADE

CVE-2026-66007 is a medium-severity flaw (CVSS 6.5) affecting datasets. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.5% (top 55%)
CISA exploited listNo
WeaknessCWE-22
Published2026-07-24
Last modified2026-10-24
Publisher (CNA): VulnCheck · Vendor: huggingface

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

huggingface datasets UPGRADE
Affected: <= 5.0.0
Fixed in: newer than 5.0.0
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show datasets
2. UPGRADE to newer than 5.0.0
pip install --upgrade "datasets>5.0.0"

Exact fixes by distribution

Python (pip) · datasets · FIXED · 5.0.1 · vulnerable: < 5.0.1 · source
pip install --upgrade "datasets>=5.0.1" pip show datasets
Fedora ELN · ntpd-rs · FIXED · 1.7.2-3.eln159 · FEDORA-2026-57e4a99310 · source
sudo dnf upgrade --advisory=FEDORA-2026-57e4a99310
Fedora 46 · moby-engine · FIXED · 29.9.2-2.fc46 · FEDORA-2026-4856be87b3 · source
sudo dnf upgrade --advisory=FEDORA-2026-4856be87b3
RHEL AI (RHEL AI) 3 · R · NOT AFFECTED
RHEL AI (RHEL AI) 3 · rhelai3/bootc-aws-cuda-rhel9 · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/bootc-azure-cuda-rhel9 · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/bootc-azure-rocm-rhel9 · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/bootc-cuda-rhel9 · NO FIX YET

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-66007?

datasets: upgrade to newer than 5.0.0. Exact commands for each OS are on this page.

Is CVE-2026-66007 being exploited?

CVE-2026-66007 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-66007 affect?

CVE-2026-66007 affects datasets. Severity is medium (CVSS 6.5). 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 c

How urgent is CVE-2026-66007?

Priority 39/100. Public exploit reference

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.