{"data":{"id":"d3bf2bc1-81b8-4567-b3df-dbb47974120a","title":"GHSA-379c-qx7v-6h59: Hugging Face Datasets folder-based builders allow path traversal through file_name metadata","summary":"Hugging Face Datasets through 5.0.0 contains a path traversal flaw in its folder-based dataset builders. The file_name metadata field is joined to the dataset directory without proper validation, so crafted values with traversal sequences can read arbitrary local files, which are then embedded into output on save_to_disk or push_to_hub.","solution":"Fixed in f989ef9.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-379c-qx7v-6h59","publishedAt":"2026-07-24T15:33:03.000Z","cveId":"CVE-2026-66007","cweIds":["CWE-22"],"cvssScore":"6.5","cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["datasets@< 5.0.1 (fixed: 5.0.1)"],"affectedPackageNames":["datasets"],"affectedPackageRefs":["pypi:datasets"],"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["Hugging Face Datasets"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.0055,"epssPercentile":0.47473,"epssCheckedAt":"2026-12-03T18:27:05.266Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/huggingface/datasets/issues/8324","https://www.vulncheck.com/advisories/datasets-path-traversal-via-unsanitized-file-name-metadata"],"patchCommitUrls":["https://github.com/huggingface/datasets/commit/f989ef9b4cc6c0039a7a82458eebca49e2b58b4b","https://github.com/huggingface/datasets/pull/8325"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:25:45.664Z","kevDateAdded":null,"advisoryAliases":["GHSA-379c-qx7v-6h59"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-07-24T15:33:03.000Z","fixReleasedAt":"2026-07-28T11:09:10.266Z","daysToFix":4,"fixCheckedAt":"2026-12-03T18:30:44.888Z","capecIds":["CAPEC-126"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["datasets@5.0.1"],"affectedPurls":["pkg:pypi/datasets"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2026-07-24","source":"record_source"},{"event":"fix_released","date":"2026-07-28","source":"package_registry"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"pypi","name":"datasets","fixedVersion":"5.0.1","matchedVersion":"5.0.1","fixReleasedAt":"2026-07-28T11:09:10.266Z","daysToFix":4,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:44.887Z"}]}}