CVE-2026-65010 Datasets Symlink-following Arbitrary File Write via Extractor.extract()
Local attackers can exploit symlink following in the Datasets library to write arbitrary files, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-65010?
CVE-2026-65010 is a medium-severity path traversal vulnerability in huggingface datasets, published on 23 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-61
Which versions are affected by CVE-2026-65010?
How do I fix CVE-2026-65010?
No fix has been published for CVE-2026-65010 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-65010 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-65010 exists.
Sources
Also known as GHSA-5cm7-hhj8-4m75.