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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-379c-qx7v-6h59
- OSV: GHSA-379c-qx7v-6h59
- github.com/huggingface/datasets/commit/f989ef9b4cc6c0039a7a82458eebca49e2b58b4b
- github.com/huggingface/datasets/pull/8325
- www.vulncheck.com/advisories/datasets-path-traversal-via-unsanitized-file-name-metadata
- github.com/advisories/GHSA-379c-qx7v-6h59