Skip to content
Fencer Vulns
medium 6.5

CVE-2026-66007 json

Datasets Path Traversal via Unsanitized file_name Metadata

published 2026-07-24 3 mo ago modified 2026-10-24 15 d ago also GHSA-379c-qx7v-6h59 , PYSEC-2026-3716 , EUVD-2026-48613

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-66007 updated cvss 6.5

datasets: Datasets: Information disclosure via path traversal vulnerability

  • Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Lightspeed Core lightspeed-core/lightspeed-stack-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9
    affected: workaround, no fix available
  • Red Hat AI Inference Server 3.5 rhaii/vllm-spyre-rhel9 1791818357
    fixed: vendor fix RHSA-2026:82371
  • Red Hat OpenShift AI 2.25 rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 1792563127, rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 1791867208, rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 1791867189
    fixed: vendor fix RHSA-2026:87410
  • Red Hat OpenShift AI 3.4 rhoai/odh-autorag-rhel9 1791557539, rhoai/odh-th06-cpu-torch210-py312-rhel9 1791874335, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1791872119, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1791961113, rhoai/odh-training-rocm62-torch24-py311-rhel9 1791556531, rhoai/odh-training-rocm62-torch25-py311-rhel9 1791556459, +6 more
    fixed: vendor fix RHSA-2026:84734
  • Red Hat OpenShift AI 3.5 rhoai/odh-training-rocm64-torch28-py312-rhel9 1791906128, rhoai/odh-training-rocm64-torch29-py312-rhel9 1791926972, rhoai/odh-training-cuda128-torch28-py312-rhel9 1791906197, rhoai/odh-training-cuda128-torch29-py312-rhel9 1791927231, rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 1791816316, rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 1791816487, +1 more
    fixed: vendor fix RHSA-2026:86891
  • Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9 Red Hat AI Inference Server rhaii/vllm-rocm-rhel9, rhaiis/vllm-rocm-rhel9, rhaiis/vllm-spyre-rhel9, rhaii/model-opt-cuda-rhel9, rhaiis/model-opt-cuda-rhel9 Red Hat Enterprise Linux AI (RHEL AI) 3 R Red Hat OpenShift AI (RHOAI) rhai/guidellm-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-ta-lmes-job-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-caikit-tgis-serving-rhel9, +4 more Red Hat OpenShift AI 2.25 rhoai/odh-rhel9-operator 1792570619, rhoai/odh-vllm-cpu-rhel9 1792018436, rhoai/odh-dashboard-rhel9 1791853525, rhoai/odh-modelmesh-rhel9 1790881700, rhoai/odh-operator-bundle 1792571069, rhoai/odh-vllm-cuda-rhel9 1791358976, +63 more Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1791509689, rhoai/rhai-cli-rhel9 1791509689, rhoai/odh-automl-rhel9 1791535789, rhoai/odh-mlflow-rhel9 1791865967, rhoai/odh-trainer-rhel9 1791869783, rhoai/odh-eval-hub-rhel9 1791852583, +88 more
    +1 more products
    Red Hat OpenShift AI 3.5 rhoai/odh-cli-rhel9 1791945905, rhoai/rhai-cli-rhel9 1791945905, rhoai/odh-automl-rhel9 1791916705, rhoai/odh-mlflow-rhel9 1791947857, rhoai/odh-autorag-rhel9 1791903266, rhoai/odh-trainer-rhel9 1791952138, +106 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
3 mo ago

Exploit prediction

0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • vulncheck.com https://www.vulncheck.com/advisories/datasets-path-traversal-via-unsanitized-file-name-metadata referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/huggingface/datasets/issues/8324 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CNA 4.0 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi datasets
<5.0.1
5.0.1

Affected products

  • huggingface datasets

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.