Vulnerability · Published Jul 23, 2026 · Assigned by VulnCheck
CVE-2026-65010Datasets Symlink-following Arbitrary File Write via Extractor.extract()
Medium 6.6
In plain English
A medium-severity security flaw in datasets from huggingface. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| huggingface | datasets | 0 – through 5.00 |
Weakness: CWE-61 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
References
- Researcher Disclosure technical-description, exploit, issue-tracking
- Pull Request issue-tracking, patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/datasets-symlink-following-arbitrary-file-write-via-extractor-extract third-party-advisory