Datasets through 5.00, fixed in commit ad2d853, contains a symlink-following vulnerability in Extractor.extract() that allows local attackers to write arbitrary files by pre-planting symlinks at predictable output paths. Attackers can redirect archive extraction to arbitrary filesystem locations in shared-cache environments, enabling overwrite of sensitive files and potential privilege escalation or code execution.
https://github.com/huggingface/datasets/pull/8303
https://github.com/huggingface/datasets/issues/8296
https://github.com/huggingface/datasets/commit/ad2d853ae2ce41d8068c23b44c2e29004312ccee
Published: 2026-07-23
Updated: 2026-07-23
Base Score: 6.2
Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:C/A:C
Severity: Medium
Base Score: 6.6
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Severity: Medium
Base Score: 4.4
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00133