Advisory record · GHSA-379c-qx7v-6h59

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 j...

CVSS 6.9 MediumEPSS 0.0055 · 46th percentile

Published by the GitHub Advisory Database at 24 Jul 2026, 15:19 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
datasetsPyPI<5.0.15.0.1
Identifiers
GHSA-379c-qx7v-6h59 · CVE-2026-66007 · PYSEC-2026-3716
Weakness (CWE)
CWE-22
Published
24 Jul 2026
Updated
15 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The datasets package before 5.0.1 has a path traversal flaw in folder-based builders, where the file_name metadata field is not validated before joining to the dataset directory. An attacker supplying crafted file_name values can read arbitrary local files, embedding them in output on save_to_disk or push_to_hub. Upgrade to 5.0.1.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.9 Medium 4.0 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 (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0055, the 46th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.