CVE-2026-66007 Datasets Path Traversal via Unsanitized file_name Metadata
설명
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.
영향 받는 제품 제품 1개
-
huggingface
datasets
영향 받는 버전
- 5.0.0 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
PyPI · datasets
영향 받는 버전 · 해결 버전
- 영향 5.0.1 미만 · 해결 5.0.1 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 4건
- github.com https://github.com/huggingface/datasets/commit/f989ef9b4cc6c0039a7a82458eebca49e2b58b4b (새 창)
- github.com https://github.com/huggingface/datasets/issues/8324 (새 창)
- github.com https://github.com/huggingface/datasets/pull/8325 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/datasets-path-traversal-via-unsanitized-file-name-metadata (새 창)